From 8a3ba1156cad23b3cf630137bfa0a83e73632bb0 Mon Sep 17 00:00:00 2001 From: Olivier Dulcy Date: Tue, 3 Dec 2024 11:40:45 +0100 Subject: [PATCH 1/2] fix: :bug: missing `|` --- .github/workflows/public_docker_images.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/public_docker_images.yml b/.github/workflows/public_docker_images.yml index a00c91859c..b4e67d0892 100644 --- a/.github/workflows/public_docker_images.yml +++ b/.github/workflows/public_docker_images.yml @@ -42,10 +42,11 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Sanitize docker tag - run: + run: | PREFIX_DOCKER_TAG="${{ matrix.framework }}-py${{ matrix.python }}-" PREFIX_DOCKER_TAG=$(echo PREFIX_DOCKER_TAG|sed 's/,/-/g') echo PREFIX_DOCKER_TAG=${PREFIX_DOCKER_TAG} >> $GITHUB_ENV + echo $PREFIX_DOCKER_TAG - name: Extract metadata (tags, labels) for Docker id: meta From 4fa866d924a66d6334a1c431d3c3a924e481265e Mon Sep 17 00:00:00 2001 From: Olivier Dulcy Date: Tue, 3 Dec 2024 11:53:54 +0100 Subject: [PATCH 2/2] fix --- .github/workflows/public_docker_images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/public_docker_images.yml b/.github/workflows/public_docker_images.yml index b4e67d0892..5abe6d717a 100644 --- a/.github/workflows/public_docker_images.yml +++ b/.github/workflows/public_docker_images.yml @@ -44,7 +44,7 @@ jobs: - name: Sanitize docker tag run: | PREFIX_DOCKER_TAG="${{ matrix.framework }}-py${{ matrix.python }}-" - PREFIX_DOCKER_TAG=$(echo PREFIX_DOCKER_TAG|sed 's/,/-/g') + PREFIX_DOCKER_TAG=$(echo ${PREFIX_DOCKER_TAG}|sed 's/,/-/g') echo PREFIX_DOCKER_TAG=${PREFIX_DOCKER_TAG} >> $GITHUB_ENV echo $PREFIX_DOCKER_TAG