From 255d093269eae1d2848698819757e7b0f04d94f4 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Wed, 8 Oct 2025 06:51:24 -0700 Subject: [PATCH] ci: update gitea workflow --- .github/workflows/deploy-docker-gitea.yml | 27 ++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docker-gitea.yml b/.github/workflows/deploy-docker-gitea.yml index 651f1c0a..b9ced222 100755 --- a/.github/workflows/deploy-docker-gitea.yml +++ b/.github/workflows/deploy-docker-gitea.yml @@ -571,6 +571,32 @@ jobs: id: task_release_gi_qemu uses: docker/setup-qemu-action@v3 + # # + # 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 + sudo tee /etc/docker/daemon.json > /dev/null <<'JSON' + { + "insecure-registries": ["git.binaryninja.net:443"] + } + JSON + + # Restart Docker + sudo service docker restart + env: + REGISTRY_HOST: git.binaryninja.net + + # # + # Make sure change in docker daemon config successful + # # + + - name: '⚙️ Check Docker Daemon Configuration' + run: cat /etc/docker/daemon.json + # # # Release › Gitea › Setup BuildX › Amd64 # # @@ -583,7 +609,6 @@ jobs: driver-opts: | image=moby/buildkit:latest network=host - env.BUILDKIT_INSECURE_REGISTRY=git.binaryninja.net env.BUILDKIT_TLS_INSECURE=1 install: true use: true