test image build caching
ci/woodpecker/push/build-package Pipeline was successful Details
ci/woodpecker/push/build-container Pipeline failed Details
ci/woodpecker/push/docs unknown status Details
ci/woodpecker/push/notify Pipeline was successful Details

This commit is contained in:
Robert Kaussow 2024-02-12 15:17:41 +01:00
parent bc05f493b5
commit 75758c9390
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@ steps:
containerfile: Containerfile
output: type=oci,dest=oci/${CI_REPO_NAME},tar=false
repo: thegeeklab/${CI_REPO_NAME}
cache_to:
- 'type=local\\,src=oci/cache/${CI_REPO_NAME}'
- name: security-scan
image: ghcr.io/aquasecurity/trivy
@ -38,7 +40,7 @@ steps:
username:
from_secret: docker_username
cache_from:
- 'type=local\\,src=oci/${CI_REPO_NAME}'
- 'type=local\\,src=oci/cache/${CI_REPO_NAME}'
when:
- event: [tag]
- event: [push, manual]

View File

@ -38,7 +38,7 @@ esac
RUN rustup set profile minimal && \
rustup target add $(cat rust_target) && \
VW_VERSION="${VAULTWARDEN_VERSION##v}" cargo build -j 8 --features "$DB" --target $(cat rust_target) --release
VW_VERSION="${VAULTWARDEN_VERSION##v}" cargo build -j 4 --features "$DB" --target $(cat rust_target) --release
RUN ldd target/$(cat rust_target)/release/vaultwarden && \
target/$(cat rust_target)/release/vaultwarden --help && \