Merge pull request #15 from tribalwarshelp/fix/remove-v

fix: deployed version is now pushed without 'v'
This commit is contained in:
Dawid Wysokiński 2021-07-08 07:04:47 +02:00 committed by GitHub
commit 8849e1ced0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: