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: {}