set platform label
This commit is contained in:
parent
9e28053430
commit
5dda1eb9d4
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue