From 05d2fb6c2b75ba483c2b7dc90608629f487ac145 Mon Sep 17 00:00:00 2001 From: Olivier Dulcy <106678676+odulcy-mindee@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:25:12 +0100 Subject: [PATCH] fix: :bug: sanitize docker tag step (#1809) --- .github/workflows/public_docker_images.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/public_docker_images.yml b/.github/workflows/public_docker_images.yml index a00c91859c..5abe6d717a 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') + 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