set platform label

This commit is contained in:
Patrick Schratz 2024-07-06 20:50:54 +02:00
commit 5dda1eb9d4
Signed by: pat-s
GPG key ID: 3C6318841EF78925
2 changed files with 4 additions and 3 deletions

View file

@ -1,3 +1,6 @@
labels:
platform: linux/arm64
when:
event: [push, cron]
@ -57,7 +60,7 @@ steps:
DOCKER_HOST: tcp://docker:2375
commands: |
docker info
docker buildx create --name mybuilder --use
# docker buildx create --name mybuilder --use
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
pip3 install -q b2 --break-system-packages

View file

@ -102,8 +102,6 @@ services:
- R_INSTALL_PATH=${R_INSTALL_PATH}
- LOCAL_STORE=/tmp/output
build:
platforms:
- "linux/arm64"
context: .
dockerfile: Dockerfile.rhel-9
image: r-builds:rhel-9