Advertisement
mbruns

Install packages using npm that exist in Github registry

Jun 12th, 2022
127
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 npm command
  2. //https://github.com/features/packages
  3.  
  4. docker tag app ghcr.io/phanatic/app:1.0.0
  5.  
  6. docker push ghcr.io/phanatic/app:1.0.0
  7. npm login --registry=https://npm.pkg.github.com --scope=@phanatic
  8.  
  9.  
  10. npm publish
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement