Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Tag deploy Docker image with release version (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
alysivji authored Sep 20, 2019
1 parent 929dc46 commit e47d481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ script:
before_deploy:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker pull ${IMAGE_NAME} || true
- docker build -f docker/prod/Dockerfile --pull --cache-from ${IMAGE_NAME} --tag ${IMAGE_NAME} --tag ${IMAGE_NAME}:${TRAVIS_COMMIT} .
- docker build -f docker/prod/Dockerfile --pull --cache-from ${IMAGE_NAME} --tag ${IMAGE_NAME} --tag ${IMAGE_NAME}:${TRAVIS_TAG} .
deploy:
provider: script
script:
Expand Down

0 comments on commit e47d481

Please sign in to comment.