fix(ci): disable the upload of tagged container images

This commit is contained in:
Markus Pesch 2019-09-24 21:54:13 +02:00
parent 0411a0ef61
commit 464070a02b
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
1 changed files with 15 additions and 9 deletions

View File

@ -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: