Skip to content

Commit

Permalink
Update .github/workflows/docker/publish.yml to fix invalid tag format
Browse files Browse the repository at this point in the history
* **Fix tag format**: Replace `/` in branch name with `-` using `sed` command in `IMAGE_TAG` assignment
  • Loading branch information
jlantz committed Oct 30, 2024
1 parent 778e20b commit 5d80ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
if [ "${{ github.ref_name }}" == "main" ]; then
echo "IMAGE_TAG=latest" >> $GITHUB_ENV
else
echo "IMAGE_TAG=${{ github.ref_name }}" >> $GITHUB_ENV
echo "IMAGE_TAG=`${echo ${{ github.ref_name }} | sed -e 's/\\//g' }" >> $GITHUB_ENV
fi
- name: Create and push multi-arch manifests
Expand Down

0 comments on commit 5d80ca8

Please sign in to comment.