ci: update docker build workflow for invalid / insecure ssl certs

This commit is contained in:
2025-10-01 02:58:40 -07:00
parent 84b1199878
commit c8aa866dfd

View File

@@ -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