Skip to content

Commit

Permalink
chore(build): Update cloudbuild.yaml file (#482)
Browse files Browse the repository at this point in the history
Remove the $REPO_NAME variable from the cloudbuild.yaml file; this is being used
to decide the name of the image to push which will not always correspond to the
image name. In particular, if we start publishing both alpine and ubuntu images
we'll want the image name to have a suffix reflecting that.
  • Loading branch information
ezimanyi committed Aug 9, 2019
1 parent 3cc10e8 commit 8321368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ steps:
entrypoint: "bash"
args: ["-c", "./gradlew igor-web:installDist -x test"]
- name: gcr.io/cloud-builders/docker
args: ["build", "-t", "gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME", "-f", "Dockerfile.slim", "."]
args: ["build", "-t", "gcr.io/$PROJECT_ID/igor:$TAG_NAME", "-f", "Dockerfile.slim", "."]
env: ["GRADLE_USER_HOME=/gradle_cache/.gradle"]
images:
- gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME
- gcr.io/$PROJECT_ID/igor:$TAG_NAME
timeout: 3600s
options:
machineType: N1_HIGHCPU_8

0 comments on commit 8321368

Please sign in to comment.