-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(docker): push dragonfly image to gcp artifact registry #4716
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Abhradeep Chakraborty <[email protected]>
Signed-off-by: Abhradeep Chakraborty <[email protected]>
Signed-off-by: Abhradeep Chakraborty <[email protected]>
Signed-off-by: Abhradeep Chakraborty <[email protected]>
Signed-off-by: Abhradeep Chakraborty <[email protected]>
Signed-off-by: Abhradeep Chakraborty <[email protected]>
Signed-off-by: Abhradeep Chakraborty <[email protected]>
Signed-off-by: Abhradeep Chakraborty <[email protected]>
Signed-off-by: Abhradeep Chakraborty <[email protected]>
Signed-off-by: Abhradeep Chakraborty <[email protected]>
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.
seems like lots of code duplication. Can you introduce a bash function that runs docker manifest create and push?
fi | ||
echo "Redis ping succeeded" | ||
|
||
for image_tag in "${image_tags[@]}"; do |
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.
really not an expert. can we build images like before and just create and push manifests to both registries in the end?
why do we need to change anything here?
@@ -0,0 +1,161 @@ | |||
name: Docker Release to GCS Artifact Registry |
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.
why we needed to duplicate the release pipeline? can we just do it in the last step of docker-release2?
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/dragonfly
repo to test the workflow?I also need to add gcp service account key in the repo secrets.