diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml index bcecd33..ee14394 100644 --- a/.github/workflows/docker-test.yml +++ b/.github/workflows/docker-test.yml @@ -39,6 +39,7 @@ jobs: # https://github.com/docker/login-action - name: Log into registry ${{ env.REGISTRY }} uses: docker/login-action@v3.0.0 + if: ${{ github.event_name == 'push' }} with: registry: ${{ env.REGISTRY }} username: ${{ secrets.HUB_USERNAME }}