Skip to content

Commit

Permalink
fix prefix trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjiU authored Jul 18, 2023
1 parent 0122322 commit c638683
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ jobs:
- if: github.event_name == 'release' && github.event.action == 'created'
run: |
# Remove prefix
TAG_NAME=${GITHUB_REF:9}
sh 'echo ${GITHUB_REF}'
TAG_NAME=${GITHUB_REF:11}
# Change slashes to hyphens
TAG_NAME=${TAG_NAME//\//-}
sh 'echo ${TAG_NAME}'
docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t flyte/mqtt-io:${TAG_NAME} -t flyte/mqtt-io:latest --push --build-arg BUILDX_QEMU_ENV=true .
- if: github.event_name == 'push'
run: |
Expand Down

0 comments on commit c638683

Please sign in to comment.