mount volume
This commit is contained in:
parent
84f0dc3f41
commit
ceac565bd6
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
- 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
|
- cat r_build_latest.txt
|
||||||
|
|
||||||
|
# ref: https://github.com/woodpecker-ci/woodpecker/discussions/2721
|
||||||
- name: Build
|
- name: Build
|
||||||
image: library/docker:26.1.4-dind-alpine3.20
|
image: library/docker:26.1.4-dind-alpine3.20
|
||||||
privileged: true
|
privileged: true
|
||||||
|
|
@ -64,8 +65,8 @@ steps:
|
||||||
pip3 install -q b2 --break-system-packages
|
pip3 install -q b2 --break-system-packages
|
||||||
just build-r-${PLATFORM} $(cat r-release-version.txt)
|
just build-r-${PLATFORM} $(cat r-release-version.txt)
|
||||||
fi
|
fi
|
||||||
# volumes:
|
volumes:
|
||||||
# - docker-sock:/var/run/docker.sock
|
- ci-tmp:/tmp
|
||||||
# volumes:
|
# volumes:
|
||||||
# - /var/run/docker.sock:/var/run/docker.sock
|
# - /var/run/docker.sock:/var/run/docker.sock
|
||||||
# - /tmp:/tmp
|
# - /tmp:/tmp
|
||||||
|
|
@ -86,8 +87,8 @@ steps:
|
||||||
from_secret: b2_application_key
|
from_secret: b2_application_key
|
||||||
endpoint: s3.eu-central-003.backblazeb2.com
|
endpoint: s3.eu-central-003.backblazeb2.com
|
||||||
overwrite: false
|
overwrite: false
|
||||||
# volumes:
|
volumes:
|
||||||
# - /tmp:/tmp
|
- ci-tmp:/tmp
|
||||||
|
|
||||||
# - name: Upload to S3
|
# - name: Upload to S3
|
||||||
# image: alpine:3.20
|
# image: alpine:3.20
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue