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

View File

@ -1,21 +1,27 @@
language: go
services: services:
- docker - docker
stages:
- build
# - test
- deploy
jobs: jobs:
include: include:
- name: build-binaries - name: "Compile golang binaries inside a container image"
stage: build stage: build
script: make container-run/all 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 stage: deploy
script: make container-image/push script: make container-image/push
- name: deploy-container-image-tagged # - name: "Deploy container-image tagged with a git tag"
stage: deploy # stage: deploy
script: make container-image/push VERSION=${TRAVIS_TAG} CONTAINER_IMAGE_VERSION=${TRAVIS_TAG} # script: make container-image/push VERSION=${TRAVIS_TAG} CONTAINER_IMAGE_VERSION=${TRAVIS_TAG}
on: # on:
tags: true # tags: true
notifications: notifications:
email: email: