diff --git a/.gitea/workflows/update.yml b/.gitea/workflows/update.yml index 4979e29..b2c1f04 100644 --- a/.gitea/workflows/update.yml +++ b/.gitea/workflows/update.yml @@ -23,11 +23,16 @@ jobs: insecure = true - name: Log in to Gitea Container Registry - uses: docker/login-action@v3 - with: - registry: http://10.0.0.2:3000 - username: ${{ gitea.actor }} - password: ${{ secrets.CI_RUNNER_TOKEN }} + run: | + # Configure Docker to allow insecure registry for this session + mkdir -p ~/.docker + echo '{ + "auths": {}, + "insecure-registries": ["10.0.0.2:3000"] + }' > ~/.docker/config.json + + # Login using direct docker command + echo "${{ secrets.CI_RUNNER_TOKEN }}" | docker login 10.0.0.2:3000 --username "${{ gitea.actor }}" --password-stdin - name: Extract metadata id: meta