Skip to content

Commit

Permalink
Update action.yaml (bcgov#1285)
Browse files Browse the repository at this point in the history
fixing the raw tags when generating the build
  • Loading branch information
jasonchung1871 authored Feb 14, 2024
1 parent 1454c9c commit 4ce2fae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/build-push-container/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,8 @@ runs:
latest=true
# Creates tags based off of branch names and semver tags
tags: |
type=raw,value=ghcr.io/${{ env.GH_USERNAME }}/${{ inputs.image_name }}:${{ env.IMAGE_VERSION }}
type=raw,value=ghcr.io/${{ env.GH_USERNAME }}/${{ inputs.image_name }}:${{ env.SHA }}
type=raw,value=ghcr.io/${{ env.GH_USERNAME }}/${{ inputs.image_name }}:latest
type=raw,value=${{ env.IMAGE_VERSION }}
type=raw,value=${{ env.SHA }}
labels: |
org.opencontainers.image.revision=${{ env.IMAGE_REVISION }}
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
Expand Down

0 comments on commit 4ce2fae

Please sign in to comment.