mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 04:35:41 -04:00
ci: update docker build workflow for invalid / insecure ssl certs
This commit is contained in:
14
.github/workflows/deploy-docker-gitea.yml
vendored
14
.github/workflows/deploy-docker-gitea.yml
vendored
@@ -584,7 +584,11 @@ jobs:
|
||||
driver: docker
|
||||
buildkitd-flags: --allow-insecure-entitlement network.host
|
||||
|
||||
- name: Configure Docker daemon to allow insecure registry
|
||||
# #
|
||||
# Required to fix insecure SSL error with docker buildx
|
||||
# #
|
||||
|
||||
- name: '⚙️ Configure Docker daemon to allow insecure registry'
|
||||
run: |
|
||||
echo "Configuring daemon to treat ${REGISTRY_HOST} as insecure"
|
||||
sudo mkdir -p /etc/docker
|
||||
@@ -599,7 +603,11 @@ jobs:
|
||||
env:
|
||||
REGISTRY_HOST: git.binaryninja.net
|
||||
|
||||
- name: Check Docker Daemon Configuration
|
||||
# #
|
||||
# Make sure change in docker daemon config successful
|
||||
# #
|
||||
|
||||
- name: '⚙️ Check Docker Daemon Configuration'
|
||||
run: cat /etc/docker/daemon.json
|
||||
|
||||
# #
|
||||
@@ -842,7 +850,6 @@ jobs:
|
||||
with:
|
||||
allow: |
|
||||
network.host
|
||||
security.insecure
|
||||
network: host
|
||||
context: .
|
||||
file: Dockerfile
|
||||
@@ -916,7 +923,6 @@ jobs:
|
||||
with:
|
||||
allow: |
|
||||
network.host
|
||||
security.insecure
|
||||
network: host
|
||||
context: .
|
||||
file: Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user