Currently the docker action is giving the following warning:
WARNING! Your password will be stored unencrypted in /github/home/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
It's not so clear if that is a flaw or not, but from this issue it seems that the best solution would be to use the official docker action
@oke-aditya can you check this one?
Btw, for checking a custom branch in the action, you should use:
- uses: actions/checkout@v2
with:
ref: my-branch
Take a look here for more info
This is issue is open with Docker official action as well. They are looking into it.
Have a look here.
https://github.com/docker/build-push-action/issues/53
I hope they will fix it soon.
As of now the best thing is to use the official docker action. And Keep this issue opened. One docker officially resolves it and we verify. We can close it.
Most helpful comment
As of now the best thing is to use the official docker action. And Keep this issue opened. One docker officially resolves it and we verify. We can close it.