From 5d80ca89c35c72500a0c6bf431900d93a4c68ee5 Mon Sep 17 00:00:00 2001 From: Jason Lantz Date: Wed, 30 Oct 2024 18:05:21 -0500 Subject: [PATCH] Update `.github/workflows/docker/publish.yml` to fix invalid tag format * **Fix tag format**: Replace `/` in branch name with `-` using `sed` command in `IMAGE_TAG` assignment --- .github/workflows/docker/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker/publish.yml b/.github/workflows/docker/publish.yml index 7abea4e..734b679 100644 --- a/.github/workflows/docker/publish.yml +++ b/.github/workflows/docker/publish.yml @@ -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