From 8c1c1182374ccd07e5e7a51781aade0c0b37daef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Jochum?= Date: Wed, 13 May 2020 05:55:36 +0200 Subject: [PATCH] Use env var for the tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: René Jochum --- .rancher-pipeline.yml | 2 +- deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rancher-pipeline.yml b/.rancher-pipeline.yml index e72669b..023e986 100644 --- a/.rancher-pipeline.yml +++ b/.rancher-pipeline.yml @@ -4,7 +4,7 @@ stages: - publishImageConfig: dockerfilePath: ./Dockerfile buildContext: . - tag: registry.wmk8s.com/rene.jochums.at/homepage:latest + tag: registry.wmk8s.com/rene.jochums.at/homepage:${CICD_GIT_TAG} pushRemote: true registry: registry.wmk8s.com - name: Deploy diff --git a/deployment.yaml b/deployment.yaml index 480ea54..d51debd 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -27,7 +27,7 @@ items: container: nginx spec: containers: - - image: registry.wmk8s.com/rene.jochums.at/homepage:latest + - image: registry.wmk8s.com/rene.jochums.at/homepage:${CICD_GIT_TAG} imagePullPolicy: Always name: nginx resources: {}