Skip to content

Instantly share code, notes, and snippets.

@dschinkel
Last active September 5, 2020 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dschinkel/c35ed2c6c608c329dbaf4a8e1a90b47d to your computer and use it in GitHub Desktop.
Save dschinkel/c35ed2c6c608c329dbaf4a8e1a90b47d to your computer and use it in GitHub Desktop.
GitHub Actions - Authing into GitHub Container Repository
# 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