mirror of https://github.com/bitnami/minideb.git
Push to dockerhub on successful builds.
If master builds successfully then push the results to dockerhub. We assume that the dockerhub username and password will be in the environment. This will use travis env vars so that the secrets aren't available to forks. The on: branch: master means that other branches wouldn't push to dockerhub.
This commit is contained in:
parent
82ca442105
commit
0930a29d6f
|
|
@ -6,3 +6,9 @@ services:
|
|||
before_install:
|
||||
- sudo apt-get -qq update
|
||||
- sudo apt-get install -y debian-archive-keyring debootstrap
|
||||
deploy:
|
||||
provider: script
|
||||
script: pushall
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
|
|
|
|||
Loading…
Reference in New Issue