diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b583f5f5..f959e632 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: id: docker-label run: | if [ ${{ steps.changes.outputs.docker == 'true' && github.event_name != 'push' }} = "true" ]; then - echo "label=ghcr.io/fair-acc/gr4-build-container:$GITHUB_HEAD_REF" >> "$GITHUB_OUTPUT" + echo "label=ghcr.io/fair-acc/gr4-build-container:${GITHUB_HEAD_REF/\//-}" >> "$GITHUB_OUTPUT" else echo "label=ghcr.io/fair-acc/gr4-build-container:latest" >> "$GITHUB_OUTPUT" fi