Skip to content

Commit

Permalink
Merging 3fad5df into trunk-temp/pr-2020/baa4702b-0e40-4712-a54a-4fbae…
Browse files Browse the repository at this point in the history
…5c44f10
  • Loading branch information
trunk-io[bot] authored Sep 15, 2024
2 parents c5ad7f0 + 3fad5df commit 3fd4bee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ substitutions:

steps:
# Step 1: Build Docker image
- name: gcr.io/cloud-builders/docker@sha256:f9d0b45ccc375dfd93464430057fcb015d586c991728db91c713ae4029ed13fd
- name: gcr.io/cloud-builders/docker@sha256:b2d5cc04d055318de8cc72d2890e7e640a66a010b216844f5cbb68ed36a6c740
id: build
args:
- build
Expand All @@ -14,7 +14,7 @@ steps:
- asia-south2-docker.pkg.dev/$PROJECT_ID/docker-registry/$_SERVICE_NAME:$BRANCH_NAME

# Step 2: Tag image with COMMIT_SHA
- name: gcr.io/cloud-builders/docker@sha256:f9d0b45ccc375dfd93464430057fcb015d586c991728db91c713ae4029ed13fd
- name: gcr.io/cloud-builders/docker@sha256:b2d5cc04d055318de8cc72d2890e7e640a66a010b216844f5cbb68ed36a6c740
id: tag-sha
waitFor:
- build
Expand All @@ -24,7 +24,7 @@ steps:
- asia-south2-docker.pkg.dev/$PROJECT_ID/docker-registry/$_SERVICE_NAME:$COMMIT_SHA

# Step 3: Tag image with BRANCH_NAME
- name: gcr.io/cloud-builders/docker@sha256:f9d0b45ccc375dfd93464430057fcb015d586c991728db91c713ae4029ed13fd
- name: gcr.io/cloud-builders/docker@sha256:b2d5cc04d055318de8cc72d2890e7e640a66a010b216844f5cbb68ed36a6c740
id: tag-branch
waitFor:
- build
Expand All @@ -34,7 +34,7 @@ steps:
- asia-south2-docker.pkg.dev/$PROJECT_ID/docker-registry/$_SERVICE_NAME:$BRANCH_NAME

# Step 4: Tag image as latest
- name: gcr.io/cloud-builders/docker@sha256:f9d0b45ccc375dfd93464430057fcb015d586c991728db91c713ae4029ed13fd
- name: gcr.io/cloud-builders/docker@sha256:b2d5cc04d055318de8cc72d2890e7e640a66a010b216844f5cbb68ed36a6c740
id: tag-latest
waitFor:
- build
Expand All @@ -44,7 +44,7 @@ steps:
- asia-south2-docker.pkg.dev/$PROJECT_ID/docker-registry/$_SERVICE_NAME:latest

# Step 5: Push Docker image
- name: gcr.io/cloud-builders/docker@sha256:f9d0b45ccc375dfd93464430057fcb015d586c991728db91c713ae4029ed13fd
- name: gcr.io/cloud-builders/docker@sha256:b2d5cc04d055318de8cc72d2890e7e640a66a010b216844f5cbb68ed36a6c740
id: push
waitFor:
- tag-sha
Expand Down

0 comments on commit 3fd4bee

Please sign in to comment.