Skip to content

Commit

Permalink
fix: Update image ids for cloudbuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoramite committed Jun 16, 2021
1 parent a7aa85f commit bfb7deb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cloudbuild-prod-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ steps:
entrypoint: 'bash'
args:
- "-c"
- docker build --network cloudbuild --no-cache --build-arg GH_CLIENT_SECRET="$$GH_CLIENT_SECRET" -t gcr.io/$PROJECT_ID/editor.dev:latest -t gcr.io/$PROJECT_ID/editor.dev:`echo $_GITHUB_REF | sed 's/refs\/tags\///'` .
- docker build --network cloudbuild --no-cache --build-arg GH_CLIENT_SECRET="$$GH_CLIENT_SECRET" -t gcr.io/$PROJECT_ID/editor-dev:latest -t gcr.io/$PROJECT_ID/editor-dev:`echo $_GITHUB_REF | sed 's/refs\/tags\///'` .

images:
- gcr.io/$PROJECT_ID/editor.dev
- gcr.io/$PROJECT_ID/editor-dev

availableSecrets:
secretManager:
Expand Down
4 changes: 2 additions & 2 deletions cloudbuild-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ steps:
entrypoint: 'bash'
args:
- "-c"
- docker build --network cloudbuild --no-cache --build-arg GH_CLIENT_SECRET="$$GH_CLIENT_SECRET" -t gcr.io/$PROJECT_ID/editor.dev:latest .
- docker build --network cloudbuild --no-cache --build-arg GH_CLIENT_SECRET="$$GH_CLIENT_SECRET" -t gcr.io/$PROJECT_ID/editor-dev:latest .

images:
- gcr.io/$PROJECT_ID/editor.dev
- gcr.io/$PROJECT_ID/editor-dev

availableSecrets:
secretManager:
Expand Down
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"
- docker build --network cloudbuild --no-cache --build-arg GH_CLIENT_SECRET="$$GH_CLIENT_SECRET" -t gcr.io/$PROJECT_ID/editor.dev:main .
- docker build --network cloudbuild --no-cache --build-arg GH_CLIENT_SECRET="$$GH_CLIENT_SECRET" -t gcr.io/$PROJECT_ID/editor-dev:main .

images:
- gcr.io/$PROJECT_ID/editor.dev
- gcr.io/$PROJECT_ID/editor-dev

availableSecrets:
secretManager:
Expand Down

0 comments on commit bfb7deb

Please sign in to comment.