add manifest creation stage
This commit is contained in:
parent
a5e3bb63c2
commit
513ddd585f
2 changed files with 9 additions and 0 deletions
|
@ -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
3
create-manifest
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
"${GOPATH}/bin/manifest-tool" push from-spec manifests/manifest.yml
|
Loading…
Reference in a new issue