Tuesday, December 15, 2020

Docker Github Container Registry Login

$ cat ~/personal_full.txt | docker login http://ghcr.io -u maximilianou --password-stdin
Login Succeeded

$ docker tag bf756fb1ae65 ghcr.io/maximilianou/node-lts-alpine:v14 

$ docker push ghcr.io/maximilianou/node-lts-alpine:v14

https://github.com/users/maximilianou/packages/container/package/node-lts-alpine


$ docker pull ghcr.io/maximilianou/node-lts-alpine:v14


FROM ghcr.io/maximilianou/node-lts-alpine:v14

No comments: