2 Commits

Author SHA1 Message Date
Alex
a5055cd007 docs: update references to github's package registry host 2022-02-21 15:27:55 +01:00
Alex
3e397648f8 fix(ci): use updated github container registry host 2022-02-21 15:25:01 +01:00
3 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ jobs:
- name: GitHub Package Registry
uses: aevea/action-kaniko@master
with:
registry: docker.pkg.github.com
registry: ghcr.io
password: ${{ secrets.GITHUB_TOKEN }}
image: kaniko
cache: true

View File

@@ -22,7 +22,7 @@ jobs:
- name: GitHub Package Registry
uses: aevea/action-kaniko@master
with:
registry: docker.pkg.github.com
registry: ghcr.io
password: ${{ secrets.GITHUB_TOKEN }}
image: kaniko
cache: true

View File

@@ -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.
@@ -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
```
@@ -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
@@ -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-