diff --git a/.woodpecker/build-container.yml b/.woodpecker/build-container.yml index 735ce69..971a957 100644 --- a/.woodpecker/build-container.yml +++ b/.woodpecker/build-container.yml @@ -11,6 +11,8 @@ steps: settings: containerfile: Containerfile output: type=oci,dest=oci/${CI_REPO_NAME},tar=false + cache_to: + - 'type=local\\,dest=oci/${CI_REPO_NAME}' repo: thegeeklab/${CI_REPO_NAME} security-scan: @@ -38,6 +40,8 @@ steps: repo: thegeeklab/${CI_REPO_NAME} username: from_secret: docker_username + cache_from: + - 'type=local\\,dest=oci/${CI_REPO_NAME}' when: - event: [tag] - event: [push, manual] @@ -57,6 +61,8 @@ steps: repo: quay.io/thegeeklab/${CI_REPO_NAME} username: from_secret: quay_username + cache_from: + - 'type=local\\,dest=oci/${CI_REPO_NAME}' when: - event: [tag] - event: [push, manual]