From 894662817806b90a5f0e219bac169aa73b9bb5f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Jochum?= Date: Sat, 29 Aug 2020 00:43:12 +0200 Subject: [PATCH] Publish master builds 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 5e1563f..41bf560 100644 --- a/.rancher-pipeline.yml +++ b/.rancher-pipeline.yml @@ -4,7 +4,7 @@ stages: - publishImageConfig: dockerfilePath: ./Dockerfile buildContext: . - tag: registry.jochum.dev/jochum/homepage:${CICD_GIT_TAG} + tag: registry.jochum.dev/jochum/homepage:${CICD_GIT_REF} pushRemote: true registry: registry.jochum.dev - name: Deploy diff --git a/deployment.yaml b/deployment.yaml index 2f6004a..2afef57 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -24,7 +24,7 @@ items: container: nginx spec: containers: - - image: registry.jochum.dev/jochum/homepage:${CICD_GIT_TAG} + - image: registry.jochum.dev/jochum/homepage:${CICD_GIT_REF} imagePullPolicy: IfNotPresent name: nginx resources: {}