fix: deployed version is now pushed without 'v'

This commit is contained in:
Dawid Wysokiński 2021-07-08 07:04:30 +02:00
parent dafead2b3a
commit 64b67f0796
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ jobs:
- run: |
docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
# build the application image
- run: docker build -t $DOCKER_LOGIN/twhelp-cron:$CIRCLE_TAG .
- run: docker build -t $DOCKER_LOGIN/twhelp-cron:$(echo $CIRCLE_TAG | sed -r 's/^.{1}//') .
# deploy the image
- run: docker push $DOCKER_LOGIN/twhelp-cron:$CIRCLE_TAG
- run: docker push $DOCKER_LOGIN/twhelp-cron:$(echo $CIRCLE_TAG | sed -r 's/^.{1}//')
workflows:
version: 2
deploy_latest: