Last active
September 5, 2020 06:59
-
-
Save dschinkel/c35ed2c6c608c329dbaf4a8e1a90b47d to your computer and use it in GitHub Desktop.
GitHub Actions - Authing into GitHub Container Repository
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
# stdout a github secret (environment variable) to stdin with docker login command | |
- run: echo ${{ secrets.GHCP_ACCESS_TOKEN }} | 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