diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b8b06feab16..963e7210b2d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -18,7 +18,7 @@ jobs: - name: Set image tag run: | - echo "IMAGE_TAG_SUFFIX=_${{ github.ref_name }}_ci" >> $GITHUB_ENV + echo "IMAGE_TAG_SUFFIX=_$(echo '${{ github.ref_name }}' | sed '/\//-/g')_ci" >> $GITHUB_ENV if: github.ref.name != github.event.repository.default_branch