Advertisement
mbruns

Install packages in Docker from Github command

Jun 12th, 2022
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. //Install packages on Github's registry from docker command
  2. //https://github.com/features/packages
  3. echo $PAT | docker login ghcr.io --username phanatic --password-stdin
  4.  
  5.  
  6. docker tag app ghcr.io/phanatic/app:1.0.0
  7.  
  8. docker push ghcr.io/phanatic/app:1.0.0
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement