Skip to content

Commit

Permalink
fix: release lates container image (#725)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <[email protected]>
  • Loading branch information
jkowalleck authored Apr 21, 2024
1 parent 497a103 commit 8ba9d0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ jobs:
- name: Publish Container Image to DockerHub for version "${{ env.VERSION }}"
run: docker push "$DOCKERHUB_REPO:$VERSION"
- name: Publish Container Image to DockerHub as "latest"
if: ${{ !cancelled() && github.event.inputs.prerelease == 'false' }}
if: ${{ github.event.inputs.prerelease == 'false' }}
run: docker push "$DOCKERHUB_REPO:latest"
# endregion
# region publish to GHCR
Expand All @@ -246,7 +246,7 @@ jobs:
- name: Publish Container Image to GHCR for version "${{ env.VERSION }}"
run: docker push "$GHCR_REPO:$VERSION"
- name: Publish Container Image to GHCR as "latest"
if: ${{ !cancelled() && github.event.inputs.prerelease == 'false' }}
if: ${{ github.event.inputs.prerelease == 'false' }}
run: docker push "$GHCR_REPO:latest"
# endregion
# TODO: publish all files in $REPORTS_DIR as release assets - see https://github.com/actions/upload-release-asset
Expand Down

0 comments on commit 8ba9d0b

Please sign in to comment.