mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 06:45: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
|
driver: docker
|
||||||
buildkitd-flags: --allow-insecure-entitlement network.host
|
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: |
|
run: |
|
||||||
echo "Configuring daemon to treat ${REGISTRY_HOST} as insecure"
|
echo "Configuring daemon to treat ${REGISTRY_HOST} as insecure"
|
||||||
sudo mkdir -p /etc/docker
|
sudo mkdir -p /etc/docker
|
||||||
@@ -599,7 +603,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
REGISTRY_HOST: git.binaryninja.net
|
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
|
run: cat /etc/docker/daemon.json
|
||||||
|
|
||||||
# #
|
# #
|
||||||
@@ -842,7 +850,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
allow: |
|
allow: |
|
||||||
network.host
|
network.host
|
||||||
security.insecure
|
|
||||||
network: host
|
network: host
|
||||||
context: .
|
context: .
|
||||||
file: Dockerfile
|
file: Dockerfile
|
||||||
@@ -916,7 +923,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
allow: |
|
allow: |
|
||||||
network.host
|
network.host
|
||||||
security.insecure
|
|
||||||
network: host
|
network: host
|
||||||
context: .
|
context: .
|
||||||
file: Dockerfile
|
file: Dockerfile
|
||||||
|
|||||||
Reference in New Issue
Block a user