Skip to content

Commit

Permalink
fix: 🐛 sanitize docker tag step (mindee#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
odulcy-mindee authored Dec 3, 2024
1 parent c8ec392 commit 05d2fb6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/public_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05d2fb6

Please sign in to comment.