diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abbc600a..14cf637e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,14 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - if: startsWith(github.ref, 'refs/tags/') + name: Login to GCR + uses: docker/login-action@v2 + with: + registry: gcr.io + username: _json_key + password: ${{ secrets.TAS_PPE_GCR_SERVICE_JSON_KEY }} + - if: startsWith(github.ref, 'refs/tags/') name: Run GoReleaser uses: goreleaser/goreleaser-action@v2