From 468e5910d35763052a4b7e8548c7eb526efb269e Mon Sep 17 00:00:00 2001 From: Alexis Couvreur Date: Sun, 23 Nov 2025 02:17:48 -0500 Subject: [PATCH] ci(goreleaser): remove registry login on non tag --- .github/workflows/goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index df5c842..610af40 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -41,6 +41,7 @@ jobs: - name: Login to Docker Hub uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 + if: github.ref_type == 'tag' with: # Should use OIDC, but not yet supported by Docker Hub. # See https://github.com/docker/roadmap/issues/314 for more details. @@ -49,6 +50,7 @@ jobs: - name: Login to GitHub Container Registry uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 + if: github.ref_type == 'tag' with: registry: ghcr.io username: ${{ github.actor }}