From 79c3cc5b5466ea139511778ce195436c8c86eaeb Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 2 Jan 2025 16:06:25 +0000 Subject: [PATCH] test --- .gitea/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 365a3c8..419b9f7 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -17,14 +17,19 @@ jobs: packages: write contents: read steps: + - name: Update Docker configuration + continue-on-error: true + run: | + echo "DOCKER_OPTS=\"--insecure-registry ${{ vars.PACKAGES_REGISTRY_URL }}\"" >> /etc/default/docker + echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json + systemctl restart docker + - name: Check out repository code uses: actions/checkout@v4.2.2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - run: cat /etc/docker/daemon.json - # - name: Log in to Gitea Package Registry # uses: docker/login-action@v3 # with: