diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3ce3f71..b8cc112 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -38,6 +38,8 @@ jobs: - name: Build and push uses: docker/build-push-action@v5 - with: - push: true - tags: dickwolff/export-to-ghostfolio:latest ${{ env.GitVersion_MajorMinorPatch }} + with: + push: ${{ github.event_name != 'pull_request' }} + tags: | + dickwolff/export-to-ghostfolio:latest + dickwolff/export-to-ghostfolio:${{ env.GitVersion_MajorMinorPatch }}