-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(docker): push dragonfly image to gcp artifact registry #4716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: us-central1-docker.pkg.dev | ||
| username: _json_key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it have to be _json_key ? Can we have a user "github_actions" for example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/docker/login-action?tab=readme-ov-file#google-artifact-registry-gar has two ways to authenticate to artifact registry. json_key is one of them. Not sure what you meant by user "github_actions". Could you explain?
0634223 to
804f847
Compare
Signed-off-by: Abhradeep Chakraborty <abhradeep@dragonflydb.io>
|
thanks! |
Fixes #4603. I have tested the docker-dev-release.yml. Not sure how to test the docker-release-artifact-registry.yml workflow. Do I have to open the PR from
dragonflydb/dragonflyrepo to test the workflow?I also need to add gcp service account key in the repo secrets.