diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f860b50..b4bcd74 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -70,7 +70,7 @@ jobs: password: ${{ secrets.REGISTRY_PASSWORD }} - name: Login to GitHub Container Registry uses: docker/login-action@v1 - if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/dev' }} + if: ${{ github.event_name != 'pull_request' && github.ref != 'refs/heads/master' }} with: registry: ghcr.io username: ${{ github.repository_owner }}