Skip to content

Commit

Permalink
🚩 Use tag version first
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarting committed May 22, 2023
1 parent 1059132 commit e4c2938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
file: src/main/docker/Dockerfile.jvm
# Hack for pseudo ternary expression: If no tag => Latest, if not, tag value
# Source: https://github.com/orgs/community/discussions/25725#discussioncomment-3248924
tags: ${{ env.IMAGE_BASE_NAME }}:${{ needs.setup.outputs.app_version || needs.setup.outputs.tag_version}}
tags: ${{ env.IMAGE_BASE_NAME }}:${{ needs.setup.outputs.tag_version || needs.setup.outputs.app_version }}

build-native:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -213,4 +213,4 @@ jobs:
file: src/main/docker/Dockerfile.native
# Hack for pseudo ternary expression: If no tag => Latest, if not, tag value
# Source: https://github.com/orgs/community/discussions/25725#discussioncomment-3248924
tags: ${{ env.IMAGE_BASE_NAME }}:${{ needs.setup.outputs.app_version || needs.setup.outputs.tag_version}}-native
tags: ${{ env.IMAGE_BASE_NAME }}:${{ needs.setup.outputs.tag_version || needs.setup.outputs.app_version }}-native

0 comments on commit e4c2938

Please sign in to comment.