From 6ee878248a796c3eae3dad1c837aba042d7f324d Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 14 Nov 2024 21:07:03 +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