Created
May 22, 2021 12:47
-
-
Save evrentan/d6be5daaa43ddc0a77000a7f85204501 to your computer and use it in GitHub Desktop.
Docker Login for GHCR with a Environment Variable PAT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export YOUR_PAT=YOUR_TOKEN | |
echo $YOUR_PAT | docker login ghcr.io -u USERNAME --password-stdin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment