diff --git a/.github/workflows/quay.yaml b/.github/workflows/quay.yaml index ec96f75..1a7e69f 100644 --- a/.github/workflows/quay.yaml +++ b/.github/workflows/quay.yaml @@ -36,6 +36,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Login to Quay.io uses: docker/login-action@v2 + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} with: registry: quay.io logout: true