chore: add multi tag example
This commit is contained in:
parent
b0857dcff7
commit
e3c4b9878e
1 changed files with 15 additions and 1 deletions
16
README.md
16
README.md
|
@ -4,7 +4,7 @@ Build OCI images using Kaniko, with the Dockerfile contents provided directly as
|
|||
|
||||
## Usage
|
||||
|
||||
Example:
|
||||
### Example: Basic Usage, all options.
|
||||
|
||||
```yaml
|
||||
jobs:
|
||||
|
@ -21,3 +21,17 @@ jobs:
|
|||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
```
|
||||
|
||||
### Example: Multiple Tags, Default registry
|
||||
|
||||
```yaml
|
||||
jobs:
|
||||
cowsay:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: https://git.kabelsalat.ch/s3lph/forgejo-kaniko-action@v1
|
||||
with:
|
||||
image: my-user/test-image:latest,my-user/test-image:${{ github.sha }}
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue