75 lines
1.8 KiB
YAML
75 lines
1.8 KiB
YAML
when:
|
|
- event: cron
|
|
cron: images
|
|
|
|
matrix:
|
|
include:
|
|
- PLATFORM: redhat-9
|
|
- PLATFORM: redhat-8
|
|
- PLATFORM: ubuntu-2404
|
|
- PLATFORM: ubuntu-2204
|
|
|
|
steps:
|
|
'Build image':
|
|
image: woodpeckerci/plugin-docker-buildx:4.2.0
|
|
secrets: [RED_HAT_DEV_PW]
|
|
settings:
|
|
platforms: linux/arm64
|
|
Dockerfile: docker/Dockerfile-${PLATFORM}
|
|
experimental: true
|
|
repo: devxygmbh/arm-binaries-r-${PLATFORM}
|
|
username: devxygmbh
|
|
password:
|
|
from_secret: dockerhub_token_devxygmbh
|
|
build_args_from_env:
|
|
- RED_HAT_DEV_PW
|
|
backend_options:
|
|
kubernetes:
|
|
resources:
|
|
requests:
|
|
memory: 500Mi
|
|
cpu: 1000m
|
|
limits:
|
|
memory: 800Mi
|
|
cpu: 1000m
|
|
nodeSelector:
|
|
kubernetes.io/arch: 'arm64'
|
|
|
|
|
|
# - name: Build
|
|
# # image: library/docker:26.1.4-dind-alpine3.20 # agent on k8s
|
|
# image: alpine:3.20 # agent on VM
|
|
# privileged: true
|
|
# environment:
|
|
# DOCKER_HOST: tcp://docker:2375
|
|
# commands: |
|
|
# apk add -q --no-cache ca-certificates py3-pip make just docker-compose docker-cli-buildx
|
|
# just image ${PLATFORM}
|
|
# backend_options:
|
|
# kubernetes:
|
|
# resources:
|
|
# requests:
|
|
# memory: 500Mi
|
|
# cpu: 1000m
|
|
# limits:
|
|
# memory: 800Mi
|
|
# cpu: 1000m
|
|
# nodeSelector:
|
|
# kubernetes.io/arch: 'arm64'
|
|
|
|
# services:
|
|
# docker:
|
|
# environment:
|
|
# DOCKER_TLS_CERTDIR: ""
|
|
# image: docker:26-dind
|
|
# commands: dockerd --tls=false --host=tcp://0.0.0.0:2375
|
|
# privileged: true
|
|
# ports:
|
|
# - 2375
|
|
# # volumes:
|
|
# # - ci-tmp-rwx:/tmp # agent on k8s
|
|
# backend_options:
|
|
# kubernetes:
|
|
# nodeSelector:
|
|
# kubernetes.io/arch: "arm64"
|
|
# topology.kubernetes.io/region: fsn1
|