Skip to content

Commit

Permalink
docs: update references to github's package registry host
Browse files Browse the repository at this point in the history
  • Loading branch information
aexvir committed Feb 21, 2022
1 parent 3e39764 commit a5055cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ with:
cache_registry: aevea/cache
```

### [docker.pkg.github.com](https://github.com/features/packages)
### [ghcr.io](https://github.com/features/packages)

GitHub's docker registry is a bit special. It doesn't allow top-level images, so this action will prefix any image with the GitHub namespace.
If you want to push your image like `aevea/action-kaniko/kaniko`, you'll only need to pass `kaniko` to this action.
Expand All @@ -93,7 +93,7 @@ passed by default, it will have to be explicitly set up.

```yaml
with:
registry: docker.pkg.github.com
registry: ghcr.io
password: ${{ secrets.GITHUB_TOKEN }}
image: kaniko
```
Expand All @@ -104,7 +104,7 @@ cache layers to that image instead

```yaml
with:
registry: docker.pkg.github.com
registry: ghcr.io
password: ${{ secrets.GITHUB_TOKEN }}
image: kaniko
cache: true
Expand Down Expand Up @@ -167,7 +167,7 @@ Example:

```yaml
with:
registry: docker.pkg.github.com
registry: ghcr.io
password: ${{ secrets.GITHUB_TOKEN }}
image: kaniko
strip_tag_prefix: pre-
Expand Down

0 comments on commit a5055cd

Please sign in to comment.