From 464070a02bf7149ad18eab8c675245b0780d3168 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 24 Sep 2019 21:54:13 +0200 Subject: [PATCH] fix(ci): disable the upload of tagged container images --- .travis.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1402b96..eb2bb7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,27 @@ -language: go - services: - docker +stages: +- build +# - test +- deploy + jobs: include: - - name: build-binaries + - name: "Compile golang binaries inside a container image" stage: build script: make container-run/all - - name: deploy-container-image-latest + # - name: "Test golang binaries inside a container image" + # stage: test + # script: make container-run/test + - name: "Deploy container-image tagged as latest" stage: deploy script: make container-image/push - - name: deploy-container-image-tagged - stage: deploy - script: make container-image/push VERSION=${TRAVIS_TAG} CONTAINER_IMAGE_VERSION=${TRAVIS_TAG} - on: - tags: true + # - name: "Deploy container-image tagged with a git tag" + # stage: deploy + # script: make container-image/push VERSION=${TRAVIS_TAG} CONTAINER_IMAGE_VERSION=${TRAVIS_TAG} + # on: + # tags: true notifications: email: