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