We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17558fa commit 2e68236Copy full SHA for 2e68236
.travis.yml
@@ -19,10 +19,11 @@ script:
19
20
after_success:
21
- if [ "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}" == "master" ]; then
22
+- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +%Y-%V)}
23
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
24
- docker push observabilitystack/geoip-api:latest
-- docker push observabilitystack/geoip-api:$(date +%Y-%V)
25
-- git tag release-$(date +%Y-%V)
+- docker push observabilitystack/geoip-api:${TRAVIS_TAG}
26
+- git tag ${TRAVIS_TAG}
27
- fi
28
29
deploy:
0 commit comments