Skip to content

Commit

Permalink
No push when PR build, fix tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dickwolff authored Feb 1, 2024
1 parent ea63317 commit 6888f19
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 6888f19

Please sign in to comment.