mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
Use TAG_NAME
This commit is contained in:
parent
18f6d1a428
commit
071efba259
|
|
@ -1,12 +1,12 @@
|
|||
steps:
|
||||
- name: gcr.io/cloud-builders/docker
|
||||
args: ['build', '-t', 'gcr.io/$PROJECT_ID/dendrite-monolith:$TAG', '-f', 'build/docker/Dockerfile.monolith', '.']
|
||||
args: ['build', '-t', 'gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME', '-f', 'build/docker/Dockerfile.monolith', '.']
|
||||
- name: gcr.io/cloud-builders/kubectl
|
||||
args: ['set', 'image', 'deployment/dendrite', 'dendrite=gcr.io/$PROJECT_ID/dendrite-monolith:$TAG']
|
||||
args: ['set', 'image', 'deployment/dendrite', 'dendrite=gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME']
|
||||
env:
|
||||
- CLOUDSDK_CORE_PROJECT=globekeeper-production
|
||||
- CLOUDSDK_COMPUTE_ZONE=europe-west2-a
|
||||
- CLOUDSDK_CONTAINER_CLUSTER=synapse-production
|
||||
images:
|
||||
- gcr.io/$PROJECT_ID/dendrite-monolith:$TAG
|
||||
- gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME
|
||||
timeout: 360s
|
||||
|
|
|
|||
Loading…
Reference in a new issue