Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

fix(ci) Fix the registry url for cloudbuild #35

Merged
merged 3 commits into from
Apr 20, 2021
Merged

Conversation

fpacifici
Copy link
Contributor

@fpacifici fpacifici commented Apr 16, 2021

The current cloudbuild cannot push the docker image because the url is wrong.

Anyway this fails as well for the lack of permissions, but it is more right than before.

@fpacifici fpacifici force-pushed the fix/cloudbuild branch 3 times, most recently from c20cf5e to 5ef16a9 Compare April 16, 2021 21:14
@fpacifici fpacifici marked this pull request as ready for review April 16, 2021 21:17
@fpacifici fpacifici requested review from a team and BYK April 16, 2021 21:17
Copy link
Member

@BYK BYK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the main issue here was using docker push $PROJECT_ID/$REPO_NAME which translates into docker push sentryio/cdc, right?

@@ -42,20 +42,24 @@ steps:
- |
# Only push to Docker Hub from master
[ "$BRANCH_NAME" != "master" ] && exit 0
docker pull us.gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA
docker pull $$SENTRY_IMAGE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make this $$CDC_IMAGE as SENTRY_IMAGE has a special meaning in on-premise and it will interfere.

@BYK
Copy link
Member

BYK commented Apr 19, 2021

Also looks like we need a getsentry/cdc repo on Docker Hub, created.

@fpacifici
Copy link
Contributor Author

So the main issue here was using docker push $PROJECT_ID/$REPO_NAME which translates into docker push sentryio/cdc, right?

That was an issue. But I think also creating the getsentry/cdc repo as you did was needed as well. Will try again today

@fpacifici
Copy link
Contributor Author

@BYK thanks for adding the repo on docker. Now it works.

@fpacifici fpacifici requested a review from BYK April 19, 2021 22:54
@fpacifici fpacifici merged commit 0f7cfa3 into master Apr 20, 2021
@BYK BYK deleted the fix/cloudbuild branch April 23, 2021 09:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants