Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5055cd007 | ||
|
|
3e397648f8 |
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
- name: GitHub Package Registry
|
- name: GitHub Package Registry
|
||||||
uses: aevea/action-kaniko@master
|
uses: aevea/action-kaniko@master
|
||||||
with:
|
with:
|
||||||
registry: docker.pkg.github.com
|
registry: ghcr.io
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
image: kaniko
|
image: kaniko
|
||||||
cache: true
|
cache: true
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- name: GitHub Package Registry
|
- name: GitHub Package Registry
|
||||||
uses: aevea/action-kaniko@master
|
uses: aevea/action-kaniko@master
|
||||||
with:
|
with:
|
||||||
registry: docker.pkg.github.com
|
registry: ghcr.io
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
image: kaniko
|
image: kaniko
|
||||||
cache: true
|
cache: true
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ with:
|
|||||||
cache_registry: aevea/cache
|
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.
|
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.
|
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
|
```yaml
|
||||||
with:
|
with:
|
||||||
registry: docker.pkg.github.com
|
registry: ghcr.io
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
image: kaniko
|
image: kaniko
|
||||||
```
|
```
|
||||||
@@ -104,7 +104,7 @@ cache layers to that image instead
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
with:
|
with:
|
||||||
registry: docker.pkg.github.com
|
registry: ghcr.io
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
image: kaniko
|
image: kaniko
|
||||||
cache: true
|
cache: true
|
||||||
@@ -167,7 +167,7 @@ Example:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
with:
|
with:
|
||||||
registry: docker.pkg.github.com
|
registry: ghcr.io
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
image: kaniko
|
image: kaniko
|
||||||
strip_tag_prefix: pre-
|
strip_tag_prefix: pre-
|
||||||
|
|||||||
Reference in New Issue
Block a user