-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add Support for Google Cloud Artifact Registry #159
base: master
Are you sure you want to change the base?
Add Support for Google Cloud Artifact Registry #159
Conversation
@@ -300,6 +307,11 @@ init_variables() { | |||
|
|||
# split tags (to allow multiple comma-separated tags) | |||
IFS=, read -ra INPUT_IMAGE_TAG <<< "$INPUT_IMAGE_TAG" | |||
|
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.
I'd rather move this condition as an elif
insode _set_namespace
(after the elif
of _is_gcloud_container_registry
.
Let me know if you want me to do it if it's not clear.
Thanks for the contribution!
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.
I appreciate it man!
I was not sure if it would be confusing to call _set_namespace
just to keep $NAMESPACE
empty for _is_gcloud_artifact_registry
. However, I can move this condition 👍🏻 .
Also, this PR is not quite ready yet. The error I had seen via #158 makes me believe I may had done something incorrect since this error is thrown in entrypoint.sh#L29-L32. I have not had a chance to test this PR yet, but I'll try to get to it at some point 🙂
Issue: #158
Description
This adds the ability to specify a Google Cloud Artifact Registry repository and image with this action. Specifically:
image_digest
as a potential input. Instead ofimage_name:image_tag
, you can specifyimage_name@image_digest
.