mount volume

This commit is contained in:
Patrick Schratz 2024-07-06 16:14:13 +02:00
commit ceac565bd6
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -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