mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-01-30 22:09:37 +01:00
Update README
This commit is contained in:
parent
9ffe94bf27
commit
5c7133f245
1 changed files with 31 additions and 25 deletions
18
README.md
18
README.md
|
@ -10,6 +10,7 @@ more secure secret passing to the build context, as it happens in the user space
|
|||
## Usage
|
||||
|
||||
## Example pipeline
|
||||
|
||||
```yaml
|
||||
name: Docker build
|
||||
on: push
|
||||
|
@ -26,6 +27,11 @@ jobs:
|
|||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
cache: true
|
||||
cache_registry: aevea/cache
|
||||
tags: >-
|
||||
test,
|
||||
1.0.1,
|
||||
latest
|
||||
|
||||
```
|
||||
|
||||
## Required Arguments
|
||||
|
@ -34,17 +40,17 @@ This action aims to be as flexible as possible, so it tries to define the defaul
|
|||
the most used values. So, technically there is a single required argument
|
||||
|
||||
| variable | description | required | default |
|
||||
|------------------|----------------------------------------------------------|----------|-----------------------------|
|
||||
| -------- | ---------------------------------------- | -------- | ------- |
|
||||
| image | Name of the image you would like to push | true | |
|
||||
|
||||
## Optional Arguments
|
||||
|
||||
| variable | description | required | default |
|
||||
|-----------------------|-----------------------------------------------------------------|----------|-----------------|
|
||||
| --------------------- | ------------------------------------------------------------------------------- | -------- | ------------- |
|
||||
| registry | Docker registry where the image will be pushed | false | docker.io |
|
||||
| username | Username used for authentication to the Docker registry | false | $GITHUB_ACTOR |
|
||||
| password | Password used for authentication to the Docker registry | false | |
|
||||
| tag | Image tag | false | latest |
|
||||
| tags | Image tags, can be passed as a list with `,` as separator (Check example above) | false | latest |
|
||||
| cache | Enables build cache | false | false |
|
||||
| cache_ttl | How long the cache should be considered valid | false | |
|
||||
| cache_registry | Docker registry meant to be used as cache | false | |
|
||||
|
@ -150,9 +156,9 @@ with:
|
|||
If you would like to publish the image to other registries, these actions might be helpful
|
||||
|
||||
| Registry | Action |
|
||||
|------------------------------------------------------|-----------------------------------------------|
|
||||
| Amazon Webservices Elastic Container Registry (ECR) | https://github.com/elgohr/ecr-login-action |
|
||||
| Google Cloud Container Registry | https://github.com/elgohr/gcloud-login-action |
|
||||
| --------------------------------------------------- | ----------------------------------------------- |
|
||||
| Amazon Webservices Elastic Container Registry (ECR) | <https://github.com/elgohr/ecr-login-action> |
|
||||
| Google Cloud Container Registry | <https://github.com/elgohr/gcloud-login-action> |
|
||||
|
||||
### Other arguments details
|
||||
|
||||
|
|
Loading…
Reference in a new issue