nais/NAIS Docker Build Push
Build and push docker image to the NAIS registry
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| push_image | Push image to registry | yes | true |
| dockerfile | Path to the Dockerfile. (default {docker_context}/Dockerfile) | no | — |
| docker_context | Docker build's context is the set of files located in the specified PATH or URL (default Git context) | yes | . |
| tag | Custom docker tag | no | — |
| project_id | Google Cloud project ID | no | — |
| identity_provider | Workload Identity Provider | no | — |
| tenant | NAIS tenant | no | nav |
| team | Team slug | yes | — |
| cache_from | Docker buildx cache from | no | type=gha |
| cache_to | Docker buildx cache to | no | type=gha,mode=max |
| image_suffix | Adds a suffiks to the generated docker image name | no | — |
| pull | Pull image before building | no | true |
| build_args | List of build-time variables | no | — |
| build_secrets | List of secrets to expose to the build (e.g., key=string, GIT_AUTH_TOKEN=mytoken) | no | — |
| outputs | List of output destinations (format: type=local,dest=path) | no | — |
| target | Sets the target stage to build | no | — |
| salsa | enable image attestation for SLSA | no | true |
| byosbom | Bring your own, use existing SBOM for SLSA | no | auto-generate-for-me-please.json |
| additional_sboms | Newline-separated list of extra CycloneDX SBOM files to merge with the primary SBOM | no | "" |
| platforms | List of target platforms for build | no | — |
Outputs
| name | description |
|---|---|
| salsa | SLSA attestation |
| digest | Image digest |
| tag | Release tag |
| image | Canonical image reference |