Skip to content

Commit

Permalink
Fix v prefix issue in docker image comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyGiorgio committed Dec 1, 2024
1 parent ab12258 commit 481b89c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ jobs:
- name: Get Docker Image Info
id: image-info
run: |
# Convert to lowercase for Docker compatibility
# Convert to lowercase for Docker compatibility and remove 'v' prefix from tag
REPO_LOWER=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
echo "image=${{ env.REGISTRY }}/${REPO_LOWER}:${{ github.event.release.tag_name }}" >> $GITHUB_OUTPUT
TAG_NO_V=$(echo "${{ github.event.release.tag_name }}" | sed 's/^v//')
echo "image=${{ env.REGISTRY }}/${REPO_LOWER}:${TAG_NO_V}" >> $GITHUB_OUTPUT
- name: Update Release Notes
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 481b89c

Please sign in to comment.