From 4ec591b96bd1b8a8e8f8743ec09a88d7aac1747e Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Feb 07 2018 18:43:14 +0000 Subject: Tag commits that pass CI as "latest". Elsewhere, we want to use the latest tag as the deployment stream for dev and staging. We'll manage prod manually with a "prod" tag. --- diff --git a/Jenkinsfile b/Jenkinsfile index d4d7bb5..6e9f0e7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -157,14 +157,14 @@ node('fedora') { } node('docker') { checkout scm - stage('Tag container with "master"') { + stage('Tag container with "latest", for dev and stage.') { unarchive mapping: ['appversion': 'appversion'] def appversion = readFile('appversion').trim() docker.withRegistry( 'https://docker-registry.engineering.redhat.com/', 'docker-registry-factory2-builder-sa-credentials') { def image = docker.image("factory2/waiverdb:${appversion}") - image.push('master') + image.push('latest') } } }