Skip to content

Commit

Permalink
Fix Travis CI - use CI_COMMIT_TAG
Browse files Browse the repository at this point in the history
Signed-off-by: v.login <[email protected]>
  • Loading branch information
v.login committed Nov 14, 2019
1 parent 7160eaa commit 002e4f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ jobs:
- bash <(curl -s https://codecov.io/bash)
deploy:
- provider: script
script: make docker
script: make CI_COMMIT_TAG=$TRAVIS_TAG docker
on:
tags: true
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PROJECT_NAME := shortlink

CI_REGISTRY_IMAGE := batazor/${PROJECT_NAME}
CI_COMMIT_TAG := 0.1.0
CI_COMMIT_TAG := latest

DOCKER_USERNAME := "batazor"

Expand Down

0 comments on commit 002e4f9

Please sign in to comment.