diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1af11d6..5be0e97 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,9 +31,17 @@ jobs: with: install-only: true + - name: Sanitize Docker registry URL + run: | + REGISTRY="${{ forgejo.server_url }}" + echo "registry=${REGISTRY#https://}" >> "$GITHUB_OUTPUT" + id: sanitize_registry + - name: GoReleaser Check run: | unset GITHUB_TOKEN goreleaser release --snapshot --skip=publish --clean env: GORELEASER_CURRENT_TAG: v0.0.0 + DOCKER_REGISTRY: ${{ steps.sanitize_registry.outputs.registry }} + DOCKER_ORG: ${{ forgejo.repository_owner }}