Use env var for the tag

Signed-off-by: René Jochum <rene@jochums.at>
master
René Jochum 4 years ago
parent 39fa538281
commit 8c1c118237

@ -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

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

Loading…
Cancel
Save