feat: build multiarch images
Some checks failed
ci/crow/cron/process-updates-alpine-320-arm64 Pipeline was successful
ci/crow/cron/process-updates-redhat-8-arm64 Pipeline was successful
ci/crow/cron/images Pipeline failed
ci/crow/cron/process-updates-redhat-8-amd64 Pipeline was successful
ci/crow/cron/process-updates-alpine-320-amd64 Pipeline was successful
ci/crow/cron/process-updates-ubuntu-2404-amd64 Pipeline was successful
ci/crow/cron/process-updates-alpine-321-amd64 Pipeline was successful
ci/crow/cron/process-updates-redhat-9-arm64 Pipeline was successful
ci/crow/cron/process-updates-ubuntu-2204-amd64 Pipeline was successful
ci/crow/cron/process-updates-redhat-9-amd64 Pipeline was successful
ci/crow/cron/process-updates-ubuntu-2404-arm64 Pipeline was successful
Some checks failed
ci/crow/cron/process-updates-alpine-320-arm64 Pipeline was successful
ci/crow/cron/process-updates-redhat-8-arm64 Pipeline was successful
ci/crow/cron/images Pipeline failed
ci/crow/cron/process-updates-redhat-8-amd64 Pipeline was successful
ci/crow/cron/process-updates-alpine-320-amd64 Pipeline was successful
ci/crow/cron/process-updates-ubuntu-2404-amd64 Pipeline was successful
ci/crow/cron/process-updates-alpine-321-amd64 Pipeline was successful
ci/crow/cron/process-updates-redhat-9-arm64 Pipeline was successful
ci/crow/cron/process-updates-ubuntu-2204-amd64 Pipeline was successful
ci/crow/cron/process-updates-redhat-9-amd64 Pipeline was successful
ci/crow/cron/process-updates-ubuntu-2404-arm64 Pipeline was successful
This commit is contained in:
parent
816c09970e
commit
1ec3605c9f
2 changed files with 28 additions and 35 deletions
|
|
@ -4,44 +4,38 @@ when:
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- PLATFORM: redhat-9
|
# - PLATFORM: redhat-9
|
||||||
ARCH: arm64
|
# ARCH: arm64
|
||||||
- PLATFORM: redhat-9
|
# - PLATFORM: redhat-9
|
||||||
ARCH: amd64
|
# ARCH: amd64
|
||||||
- PLATFORM: redhat-8
|
# - PLATFORM: redhat-8
|
||||||
ARCH: arm64
|
# ARCH: arm64
|
||||||
- PLATFORM: redhat-8
|
# - PLATFORM: redhat-8
|
||||||
ARCH: amd64
|
# ARCH: amd64
|
||||||
- PLATFORM: ubuntu-2404
|
# - PLATFORM: ubuntu-2404
|
||||||
ARCH: arm64
|
# ARCH: arm64
|
||||||
- PLATFORM: ubuntu-2404
|
# - PLATFORM: ubuntu-2404
|
||||||
ARCH: amd64
|
# ARCH: amd64
|
||||||
- PLATFORM: ubuntu-2204
|
# - PLATFORM: ubuntu-2204
|
||||||
ARCH: arm64
|
# ARCH: arm64
|
||||||
- PLATFORM: ubuntu-2204
|
# - PLATFORM: ubuntu-2204
|
||||||
ARCH: amd64
|
# ARCH: amd64
|
||||||
- PLATFORM: alpine-321
|
# - PLATFORM: alpine-321
|
||||||
ARCH: arm64
|
# ARCH: arm64
|
||||||
- PLATFORM: alpine-321
|
# - PLATFORM: alpine-321
|
||||||
ARCH: amd64
|
# ARCH: amd64
|
||||||
- PLATFORM: alpine-322
|
- PLATFORM: alpine-322
|
||||||
ARCH: arm64
|
R_VERSION: 4.5.0
|
||||||
- PLATFORM: alpine-322
|
|
||||||
ARCH: amd64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 'Build image'
|
- name: 'Build image'
|
||||||
image: docker.io/thegeeklab/wp-docker-buildx:6.1.2
|
image: docker.io/woodpeckerci/plugin-docker-buildx:6.0.1
|
||||||
settings:
|
settings:
|
||||||
mtu: 1350
|
mtu: 1350
|
||||||
platforms: linux/${ARCH}
|
platforms: linux/amd64,linux/arm64
|
||||||
Containerfile: docker/Containerfile-${PLATFORM}
|
Dockerfile: docker/Containerfile-${PLATFORM}
|
||||||
experimental: true
|
repo: devxygmbh/rpkgs-build-env-${PLATFORM}
|
||||||
repo: devxygmbh/${ARCH}-binaries-r-${PLATFORM}
|
tags: ${R_VERSION}
|
||||||
tags: latest
|
|
||||||
# cache_from:
|
|
||||||
# - 'type=registry\\,ref=devxygmbh/${ARCH}-binaries-r-${PLATFORM}:cache\\,mode=max\\,image-manifest=true\\,oci-mediatypes=true'
|
|
||||||
# cache_to: 'type=registry,ref=devxygmbh/${ARCH}-binaries-r-${PLATFORM}:cache,mode=max,image-manifest=true,oci-mediatypes=true'
|
|
||||||
username: devxygmbh
|
username: devxygmbh
|
||||||
password:
|
password:
|
||||||
from_secret: dockerhub_token_devxygmbh
|
from_secret: dockerhub_token_devxygmbh
|
||||||
|
|
@ -52,6 +46,7 @@ steps:
|
||||||
from_secret: GITHUB_PAT
|
from_secret: GITHUB_PAT
|
||||||
build_args_from_env:
|
build_args_from_env:
|
||||||
- ARCH
|
- ARCH
|
||||||
|
- R_VERSION
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
|
|
@ -61,8 +56,6 @@ steps:
|
||||||
limits:
|
limits:
|
||||||
memory: 1300Mi
|
memory: 1300Mi
|
||||||
cpu: 2000m
|
cpu: 2000m
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/arch: '${ARCH}'
|
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: 'CI'
|
- key: 'CI'
|
||||||
operator: 'Equal'
|
operator: 'Equal'
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ RUN curl -s -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Sour
|
||||||
|
|
||||||
FROM alpine:3.22 AS final
|
FROM alpine:3.22 AS final
|
||||||
|
|
||||||
ARG R_VERSION=4.5.0
|
ARG R_VERSION=4.4.3
|
||||||
ENV PATH=/opt/R/${R_VERSION}/bin:$PATH
|
ENV PATH=/opt/R/${R_VERSION}/bin:$PATH
|
||||||
ENV TZ="Europe/Berlin"
|
ENV TZ="Europe/Berlin"
|
||||||
ENV R_LIBS_USER=/mnt/cache/R-pkgs
|
ENV R_LIBS_USER=/mnt/cache/R-pkgs
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue