add image_tag variable; improve documentation
This commit is contained in:
parent
043a33af3d
commit
e04c4fb399
2 changed files with 15 additions and 6 deletions
11
readme.md
11
readme.md
|
|
@ -23,6 +23,10 @@ jobs:
|
|||
container:
|
||||
image: ghcr.io/osscontainertools/kaniko:alpine
|
||||
steps:
|
||||
# Required
|
||||
- name: Install NodeJS for Action Compatibility
|
||||
run: apk add --no-cache nodejs
|
||||
|
||||
- name: Checkout Source Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
|
@ -31,7 +35,8 @@ jobs:
|
|||
with:
|
||||
registry_user: ${{ secrets.REGISTRY_USER }}
|
||||
registry_token: ${{ secrets.REGISTRY_TOKEN }}
|
||||
dockerfile_path: 'test-1/Dockerfile'
|
||||
target_stage: 'development'
|
||||
destination_image: '${{ forgejo.repository }}/foo-image:latest'
|
||||
dockerfile_path: 'sub-directory/Dockerfile'
|
||||
target_stage: 'development' # optional
|
||||
destination_image: '${{ forgejo.repository }}/my-awesome-image'
|
||||
image_tag: 'latest' # optional
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue