Skip to content

Commit

Permalink
Remove v prefix from image tag (contributes to #21) (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Stone <[email protected]>
  • Loading branch information
Simon Stone authored Sep 16, 2020
1 parent e3cae46 commit 4255488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ steps:
displayName: Build Docker image
- script: |
set -euo pipefail
VERSION=$(git describe --exact-match --tags $(Build.SourceVersion))
VERSION=$(git describe --exact-match --tags $(Build.SourceVersion) | sed 's/^v//')
docker tag ibmcom/ibp-microfab:latest ibmcom/ibp-microfab:${VERSION}
docker login -u $(Docker Hub User Name) -p $(Docker Hub Access Token)
docker push ibmcom/ibp-microfab:${VERSION}
Expand Down

0 comments on commit 4255488

Please sign in to comment.