From ceac565bd6f36376f402d6476a27fc58727fe63d Mon Sep 17 00:00:00 2001 From: pat-s Date: Sat, 6 Jul 2024 16:14:13 +0200 Subject: [PATCH] mount volume --- .woodpecker/build.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 7ef18e1..90f674f 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -50,6 +50,7 @@ steps: - aws s3 ls s3://devxy-r-builds/${PLATFORM_ID}/ | tail -1 | awk '{print $NF}' | cut -c 3-7 > r_build_latest.txt - cat r_build_latest.txt + # ref: https://github.com/woodpecker-ci/woodpecker/discussions/2721 - name: Build image: library/docker:26.1.4-dind-alpine3.20 privileged: true @@ -64,8 +65,8 @@ steps: pip3 install -q b2 --break-system-packages just build-r-${PLATFORM} $(cat r-release-version.txt) fi - # volumes: - # - docker-sock:/var/run/docker.sock + volumes: + - ci-tmp:/tmp # volumes: # - /var/run/docker.sock:/var/run/docker.sock # - /tmp:/tmp @@ -86,8 +87,8 @@ steps: from_secret: b2_application_key endpoint: s3.eu-central-003.backblazeb2.com overwrite: false - # volumes: - # - /tmp:/tmp + volumes: + - ci-tmp:/tmp # - name: Upload to S3 # image: alpine:3.20