- Navigate to your Personal Access Tokens
- Create a new Access Token with the following authorisations:
read:packages
write:packages
delete:packages
$ echo "aiwi8esgykxcu1t686p_7ea_l6abwc76vue0kecq" | docker login ghcr.io -u ccjmne --password-stdin
... where:
ccjmne
would be your usernameaiwi8esgykxcu1t686p_7ea_l6abwc76vue0kecq
would be your Personal Access Token.
PS: I'm not an idiot, that merely is a randomised chain of 40 characters, not my token :)
$ docker build . \
-t puppeteer-html2pdf:1.4.0 \
-t ghcr.io/ccjmne/puppeteer-html2pdf:1.4.0
$ docker image push ghcr.io/ccjmne/puppeteer-html2pdf:1.4.0
... where:
ccjmne
is your usernamepuppeteer-html2pdf
is the name of your repository1.4.0
is the desired version number. You may want to also pushlatest
.