mirror of
https://code.thetadev.de/actions/kaniko.git
synced 2026-04-28 18:31:44 +00:00
feat: add dockerfile build arguments
This commit is contained in:
13
README.md
13
README.md
@@ -218,3 +218,16 @@ Example: `thetadev256/test-actions-helloworld2:main`
|
||||
Full reference to the built image with registry and tag.
|
||||
|
||||
Example: `thetadev256/test-actions-helloworld2:main`
|
||||
|
||||
## Dockerfile build arguments
|
||||
|
||||
Action-Kaniko automatically sets build arguments to allow for different dockerfile actions
|
||||
depending on the OS and architecture the image is build for.
|
||||
|
||||
The supported arguments are:
|
||||
|
||||
- `TARGETPLATFORM` (example: linux/amd64)
|
||||
- `TARGETOS` (example: linux)
|
||||
- `TARGETARCH` (example: amd64)
|
||||
- `TARGETARCH_ALT` (alternative architecture name, x86_64 for amd64, otherwise the same as TARGETARCH)
|
||||
- `TARGETVARIANT` (third docker platform parameter like ARM version)
|
||||
|
||||
Reference in New Issue
Block a user