Skip to content

Commit

Permalink
strip 'v' from docker tag in ci-cd
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Jun 12, 2024
1 parent 5b951d1 commit 9881ea4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ jobs:
id: versions
run: |
VERSION=$(git describe --tags --abbrev=0)
VERSION=${VERSION#v}
IMAGE=${{ env.REGISTRY }}/$(echo "${{ env.IMAGE_NAME }}" | awk '{print tolower($0)}')
echo "IMAGE=$IMAGE" >> $GITHUB_OUTPUT
echo "TAG=$IMAGE:$VERSION" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 9881ea4

Please sign in to comment.