Add note about GitHub Registry path format (#45)

* Add note about GitHub registry path format

* Add link to GitHub docker registry docs
This commit is contained in:
gozzarda
2019-10-30 22:29:41 +08:00
committed by Lars
parent 691aa852ae
commit eb1bbf5428

View File

@@ -41,11 +41,12 @@ jobs:
## Optional Arguments
### registry
Use `registry` for pushing to a custom registry
Use `registry` for pushing to a custom registry.
> NOTE: GitHub's Docker registry uses a different path format to Docker Hub, as shown below. See [Configuring Docker for use with GitHub Package Registry](https://help.github.com/en/github/managing-packages-with-github-package-registry/configuring-docker-for-use-with-github-package-registry#publishing-a-package) for more information.
```yaml
with:
name: myDocker/repository
name: owner/repository/image
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: docker.pkg.github.com