I have a repository on GitHub, and I want to create a GitHub Action to automate the process of building and publishing a Docker image to DockerHub.
I know how to do this but if I create the action in a branch other than master
GitHub it doesn't recognize it and it doesn't execute it when the event configured in it ( push
) occurs.
This is a known issue ( Workflow files only picked up from master? ) but I haven't found any tricks to make it work.
Any ideas?