Skip to content

Commit

Permalink
fix: create/update major.minor tag when releasing (#18)
Browse files Browse the repository at this point in the history
Fixes #17

Signed-off-by: Jeff MAURY <[email protected]>
  • Loading branch information
jeffmaury authored Jun 12, 2024
1 parent 341ae93 commit ae46802
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
TAG_PATTERN=${{ github.event.inputs.version }}
echo "githubTag=v$TAG_PATTERN" >> ${GITHUB_OUTPUT}
echo "imageVersion=$TAG_PATTERN" >> ${GITHUB_OUTPUT}
echo "imageVersionShort=${TAG_PATTERN%.*}" >> ${GITHUB_OUTPUT}
- name: tag
run: |
Expand Down Expand Up @@ -76,7 +77,8 @@ jobs:
uses: redhat-actions/buildah-build@v2
with:
image: ai-lab-playground-chat
tags: latest ${{ steps.TAG_UTIL.outputs.imageVersion }}
tags: latest ${{ steps.TAG_UTIL.outputs.imageVersion }} ${{ steps.TAG_UTIL.outputs.imageVersionShort }}
labels: io.podman.ai-lab.version=${{ steps.TAG_UTILS.outputs.imageVersion }}
containerfiles: |
./chat/Containerfile
context: ./chat
Expand Down

0 comments on commit ae46802

Please sign in to comment.