1
0
mirror of https://github.com/hegerdes/gitlab-actions.git synced 2025-10-06 05:36:52 +02:00

fix: container build image ref

This commit is contained in:
Henrik Gerdes
2023-12-22 22:50:37 +01:00
parent 0fb39aa670
commit 65611e180d
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ The template should work without modifications but you can customize the templat
| Input | Default value | Description |
| ----- | ------------- | ----------- |
| `stage` | `test` | The stage where you want the job to be added |
| `analyzer_image` | `$CI_TEMPLATE_REGISTRY_HOST/security-products/container-scanning:5` | The Docker image of the analyzer |
| `build_image` | `$CI_TEMPLATE_REGISTRY_HOST/security-products/container-scanning:5` | The Docker image of the analyzer |
| `force_run` | `false` | When set to `true` it always adds the job even if `$CONTAINER_SCANNING_DISABLED` is set |
### Variables

View File

@@ -42,7 +42,7 @@ spec:
container_build:
stage: $[[ inputs.stage ]]
image:
name: "$[[ inputs.analyzer_image ]]"
name: "$[[ inputs.build_image ]]"
entrypoint: [""]
variables:
#More Information on Kaniko Caching: https://cloud.google.com/build/docs/kaniko-cache\n\t