-
Notifications
You must be signed in to change notification settings - Fork 35
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 feature to tag image with multiple tags #21
Conversation
a0fc441
to
cc7e1fd
Compare
Signed-off-by: divyansh42 <[email protected]>
6aaea1f
to
c10339c
Compare
Signed-off-by: divyansh42 <[email protected]>
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.
It looks mostly good, just some minor notes
I notice this action is still missing the eslint and action-io-generator CI checks. I would love to put our 3 CI checks into a composite action so we can reuse them more easily. Once this and the matching push-to-registry PR are in we can think about that. |
Yeah, I have planned to add CI checks in a seperate PR, but it will be great if we can have a composite action for this. |
Signed-off-by: divyansh42 <[email protected]>
Signed-off-by: divyansh42 <[email protected]>
Signed-off-by: divyansh42 <[email protected]>
(acc, line) => acc.concat(line).map(pat => pat.trim()), | ||
[] | ||
.split(/\r?\n/) | ||
.filter((x) => x) |
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.
We don't have to change this right now but this filter call does nothing and should be removed
[] | ||
.split(/\r?\n/) | ||
.filter((x) => x) | ||
.reduce<string[]>( |
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.
this reduce
also looks like it should be a map
. it's not doing any flattening, just trimming each item
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.
Good work. Let's put together a workflow on push-to-registry that does a multi-tag build with this, and then a multi-tag push.
Fixes: #20
Signed-off-by: divyansh42 [email protected]