From d3906cd0a74d515ff64a77045201ee3861e68afd Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 14 Nov 2024 21:09:53 +0100 Subject: [PATCH] ci: add read-only pull secret to security build --- .woodpecker/build-container.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.woodpecker/build-container.yml b/.woodpecker/build-container.yml index f19c510..7028454 100644 --- a/.woodpecker/build-container.yml +++ b/.woodpecker/build-container.yml @@ -12,6 +12,8 @@ steps: containerfile: Containerfile.multiarch output: type=oci,dest=oci/${CI_REPO_NAME},tar=false repo: thegeeklab/${CI_REPO_NAME} + registry_config: + from_secret: DOCKER_REGISTRY_CONFIG_PULL - name: security-scan image: docker.io/aquasec/trivy