-
I have a Cake.Frosting build set up in a repo firing off via Github Actions. Performing DockerBuild, then DockerPush to ghcr.io.
Username from env var It works, however... During the build I get a warning that looks not so bueno...
I do not really want ^^ this behavior, unencrypted pwd??? Wait what? Kicking off cake with a simple run, fwiw
Anyone know how I can correct this and keep it from happening??? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Use a "docker credential helper" for ghcr. I do this for aws ecr via amazon-ecr-credential-helper, not ghcr, but it's the same principle. It looks like it's early days for such support, but you have two options:
This would work best if you run your workflow from inside a docker container that is configured accordingly. |
Beta Was this translation helpful? Give feedback.
Use a "docker credential helper" for ghcr. I do this for aws ecr via amazon-ecr-credential-helper, not ghcr, but it's the same principle.
It looks like it's early days for such support, but you have two options:
This would work best if you run your workflow from inside a docker container that is configured accordingly.