Skip to content

Commit

Permalink
📝 Add hints for Github Container Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
elgohr committed Sep 1, 2020
1 parent d8fded1 commit a8927fa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@ If you would like to publish the image to other registries, these actions might
## Optional Arguments

### 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.
If you're using GitHub Packages, you might also want to use `${{ github.actor }}` as the `username`.
Use `registry` for pushing to a custom registry.

As GitHub Packages Docker registry uses a different path format to GitHub Container Registry or Docker Hub. 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.
For publishing to GitHub Container Registry please see [Migrating to GitHub Container Registry for Docker images](https://docs.github.com/en/packages/getting-started-with-github-container-registry/migrating-to-github-container-registry-for-docker-images).

If you're using GitHub Packages Docker or GitHub Container Registry, you might also want to use `${{ github.actor }}` as the `username`.

```yaml
with:
Expand Down

0 comments on commit a8927fa

Please sign in to comment.