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 a728d3a commit f47a753Copy full SHA for f47a753
.travis.yml
@@ -16,9 +16,12 @@ install:
16
- make test-install
17
script:
18
- make test
19
+- if [[ "$TRAVIS_BRANCH" == "main" || "$TRAVIS_BRANCH" == "travis" ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
20
+ echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin;
21
+ fi
22
deploy:
23
- provider: script
- script: echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin && make docker-build && make docker-push
24
+ script: make docker-build && make docker-push
25
skip_cleanup: true
26
on:
27
tags: true
0 commit comments