Remove image pushing from Travis
This process is no longer done in Travis.
Fixes:
@@ -12,14 +12,6 @@ function goreleaser() {
curl -sL https://git.io/goreleaser | bash
}
-function gcr_push() {
- openssl aes-256-cbc -K $encrypted_708bef23737d_key -iv $encrypted_708bef23737d_iv -in heptio-images-ee4b0474b93e.json.enc -out ./heptio-images-ee4b0474b93e.json -d
- gcloud auth activate-service-account --key-file heptio-images-ee4b0474b93e.json
- # https://github.com/travis-ci/travis-ci/issues/9905
- unset GIT_HTTP_USER_AGENT
- IMAGE_BRANCH="$TRAVIS_BRANCH" DOCKER="gcloud docker -- " make container push
-}
-
if [ ! -z "$TRAVIS_TAG" ]; then
if [ "$(./sonobuoy version)" != "$TRAVIS_TAG" ]; then
@@ -30,10 +22,4 @@ if [ ! -z "$TRAVIS_TAG" ]; then
fi
goreleaser
- gcr_push
fi
-
-if [ "$TRAVIS_BRANCH" == "master" ]; then
- gcr_push
-fi
-
