Added SHA tags
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
DutchEllie 2022-03-12 21:32:02 +01:00
parent 262aaaf461
commit 263ec7cc6f
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:dKq6ZSgN5E3Viqrw/+xAdf2VdR6hdRGNyrYqXXwfjTY
1 changed files with 10 additions and 2 deletions

View File

@ -15,7 +15,9 @@ steps:
password:
from_secret: docker_password
repo: dutchellie/proper-website-2
tags: latest
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}
- name: deploy-staging
image: pelotech/drone-helm3
@ -28,6 +30,8 @@ steps:
values_files:
# - .drone/helm/values.yaml
- .drone/helm/staging-val.yaml
values:
- "image=dutchellie/proper-website-2:${DRONE_COMMIT_SHA:0:8}"
kube_api_server:
from_secret: staging_api_server
kube_token:
@ -58,7 +62,9 @@ steps:
password:
from_secret: docker_password
repo: dutchellie/proper-website-2
tags: latest
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}
- name: deploy-production
image: pelotech/drone-helm3
@ -71,6 +77,8 @@ steps:
values_files:
# - .drone/helm/values.yaml
- .drone/helm/prod-val.yaml
values:
- "image=dutchellie/proper-website-2:${DRONE_COMMIT_SHA:0:8}"
kube_api_server:
from_secret: prod_api_server
kube_token: