Currently dockhub github action sets the image name as the repository name and sets the organization name as the based on the branch reference.
Instead we should have both image name tag and organization name as optional arguments passed into this action. Only if nothing is set should we use this logic.
Reasoning for new functionality
Current functionality limits use of action to only where repository name and image name should be the same and also does not work for repositories under the ops org.
Summary
Currently dockhub github action sets the image name as the repository name and sets the organization name as the based on the branch reference. Instead we should have both image name tag and organization name as optional arguments passed into this action. Only if nothing is set should we use this logic.
Reasoning for new functionality
Current functionality limits use of action to only where repository name and image name should be the same and also does not work for repositories under the ops org.