- Navigate to your Personal Access Tokens
- Create a new Access Token with the following authorisations:
read:packageswrite:packagesdelete:packages
$ echo "aiwi8esgykxcu1t686p_7ea_l6abwc76vue0kecq" | docker login ghcr.io -u ccjmne --password-stdin... where:
ccjmnewould be your usernameaiwi8esgykxcu1t686p_7ea_l6abwc76vue0kecqwould 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:
ccjmneis your usernamepuppeteer-html2pdfis the name of your repository1.4.0is the desired version number. You may want to also pushlatest.