add manifest creation stage

This commit is contained in:
Stefan Agner 2019-01-23 11:36:27 +01:00
parent a5e3bb63c2
commit 513ddd585f
2 changed files with 9 additions and 0 deletions

View File

@ -19,3 +19,9 @@ script:
- ./build
after_success:
- '[ "$TRAVIS_PULL_REQUEST" == "false" ] && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" && ./push'
jobs:
include:
- stage: deploy
name: "Create Manifest"
script: ./create-manifest

3
create-manifest Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash -ex
"${GOPATH}/bin/manifest-tool" push from-spec manifests/manifest.yml