Skip to content

Commit

Permalink
chore: Publish docker artefact only once per release (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone authored Aug 25, 2023
1 parent f6539f3 commit 4ddd67c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: mkdocs build

publish-docker-image:
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
if: (github.ref == 'refs/heads/main' && github.event_name != 'release') || startsWith(github.ref, 'refs/tags/')
needs: build-and-test
runs-on: ubuntu-latest
outputs:
Expand Down

0 comments on commit 4ddd67c

Please sign in to comment.