Skip to content
Permalink
Browse files

Fix travis CI

  • Loading branch information
s1061123 committed Feb 10, 2020
1 parent da9da81 commit 9c35b5ccf2b5a17612a6ad5542e0db7be5967653
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis.yml
@@ -89,12 +89,12 @@ deploy:
on:
tags: true
all_branches: true
condition: "$TRAVIS_TAG =~ ^v[0-9].*$ && -n $REGISTRY_USER && -n $REGISTRY_PASS && -n $REPOSITORY_NAME"
condition: "$TRAVIS_TAG =~ ^v[0-9].*$ && -n $REGISTRY_USER && -n $REGISTRY_PASS && -n $REPOSITORY_NAME && -n $REPOSITORY_USER"
# Push images to Dockerhub on merge to master
- provider: script
on:
branch: master
condition: "-n $REGISTRY_USER && -n $REGISTRY_PASS && -n $REPOSITORY_NAME"
condition: "-n $REGISTRY_USER && -n $REGISTRY_PASS && -n $REPOSITORY_NAME && -n $REPOSITORY_USER"
script: >
bash -c '
docker tag ${REPOSITORY_USER}/:latest-amd64 ${REPOSITORY_USER}/${REPOSITORY_NAME}:snapshot;

0 comments on commit 9c35b5c

Please sign in to comment.
You can’t perform that action at this time.