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: