Skip to content

Commit

Permalink
ref: remove dual writing to legacy gcr (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile-sentry authored May 3, 2024
1 parent c4e6ea0 commit 5668da5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ steps:
[
'build',
'-t',
'us.gcr.io/$PROJECT_ID/chartcuterie:latest',
'-t',
'us.gcr.io/$PROJECT_ID/chartcuterie:$COMMIT_SHA',
'-t',
'us-central1-docker.pkg.dev/$PROJECT_ID/chartcuterie/image:latest',
'-t',
'us-central1-docker.pkg.dev/$PROJECT_ID/chartcuterie/image:$COMMIT_SHA',
Expand All @@ -26,10 +22,8 @@ steps:
- |
# Only push "latest" tag when building on "master"
[ "$BRANCH_NAME" != "master" ] && exit 0
docker push us.gcr.io/$PROJECT_ID/chartcuterie:latest
docker push us-central1-docker.pkg.dev/$PROJECT_ID/chartcuterie/image:latest
images: [
'us.gcr.io/$PROJECT_ID/chartcuterie:$COMMIT_SHA',
'us-central1-docker.pkg.dev/$PROJECT_ID/chartcuterie/image:$COMMIT_SHA',
]

0 comments on commit 5668da5

Please sign in to comment.