GitHub shows me I have to use: docker push docker.pkg.github.com/myorganization/myapp/IMAGE_NAME:VERSION
to publish an image on GitHub.
Last time I was running my pipeline I got the following error: The push refers to repository [docker.io/myorganization/myapp]
.
So my question is what part of my config is not corect:
- name: build
image: plugins/docker
settings:
repo: myorganization/myapp
auto_tag: true
registry: docker.pkg.github.com
auth:
from_secret: NPM_AUTH_TOKEN
dockerfile: .drone/Dockerfile