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

View file

@ -51,15 +51,15 @@ steps:
- cat r_build_latest.txt - cat r_build_latest.txt
- name: Build - name: Build
image: alpine:3.20 image: 27.0.3-alpine3.20
commands: | commands: |
if [ ! -s r_build_latest.txt ] || [ ! "$(cat r-release-version.txt)" = "$(cat r_build_latest.txt)" ]; then if [ ! -s r_build_latest.txt ] || [ ! "$(cat r-release-version.txt)" = "$(cat r_build_latest.txt)" ]; then
apk add -q --no-cache py3-pip make just aws-cli docker-compose apk add -q --no-cache py3-pip make just aws-cli docker-compose
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:
- /var/run/docker.sock:/var/run/docker.sock # - /var/run/docker.sock:/var/run/docker.sock
# - /tmp:/tmp # - /tmp:/tmp
- name: Upload - name: Upload