From c899246482dae78fea05c20d23a41e19bbffcb6b Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 14 Nov 2024 21:10:04 +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