1
0
mirror of https://github.com/hegerdes/gitlab-actions.git synced 2025-10-06 05:36:52 +02:00
Go to file
Henrik Gerdes c369dcec1b init
2023-12-22 22:29:31 +01:00
2023-12-22 22:29:31 +01:00
2023-12-22 22:29:31 +01:00
2023-12-22 22:29:31 +01:00
2023-12-22 22:29:31 +01:00

Container Build Kaniko

Usage

Use this component to enable container scanning in your project. You should add this component to an existing .gitlab-ci.yml file by using the include: keyword.

include:
  - component: gitlab.com/hegerdes/container-build-kaniko/container-build@<VERSION>

where <VERSION> is the latest released tag or main.

This will add a container_scanning job to the pipeline.

The template should work without modifications but you can customize the template settings.

Inputs

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
force_run false When set to true it always adds the job even if $CONTAINER_SCANNING_DISABLED is set

Variables

Variable Description
GIT_STRATEGY Default to fetch.
DOCKER_AUTH_CONFIG GitLab variable containing registry secrets.

For details, see the following links:

Contribute

Please read about CI/CD components and best practices at: https://docs.gitlab.com/ee/ci/components

Description
Collection of GitLab CI-CD-Catalog actions. Allows users to build Docker/OCI Container Images.
Readme BSD-2-Clause 176 KiB
Languages
Shell 88.8%
Smarty 7.7%
Python 3.2%
Dockerfile 0.3%