redhat-actions / push-to-registry

GitHub Action to push a container image to an image registry.
https://github.com/marketplace/actions/push-to-registry
MIT License
100 stars 33 forks source link

Add feature to pass extra args when pushing image #19

Closed divyansh42 closed 3 years ago

divyansh42 commented 3 years ago

If a user wants to pass few extra args to push command when pushing image, then he can pass using 'extra-args' input parameter. This PR adds another input extra-args to pass extra arguments.

Fixes: #17

Signed-off-by: divyansh42 diagrawa@redhat.com

tetchel commented 3 years ago

can you add some extra_args to a test case?

divyansh42 commented 3 years ago

Figured out that, pull_request_target is not running on the PR branch. So here is the test workflow: https://github.com/Divyansh42/push-to-registry/runs/1849255706?check_suite_focus=true#step:10:110