images
This commit is contained in:
parent
14e76c4615
commit
c2e3a433fc
1 changed files with 54 additions and 9 deletions
|
|
@ -2,16 +2,22 @@ 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
|
||||
image: woodpeckerci/plugin-docker-buildx:latest
|
||||
secrets: [RED_HAT_DEV_PW]
|
||||
settings:
|
||||
platforms: linux/arm64
|
||||
Dockerfile: docker/Dockerfile-redhat-9
|
||||
squash: true
|
||||
Dockerfile: docker/Dockerfile-${PLATFORM}
|
||||
experimental: true
|
||||
repo: devxygmbh/arm-binaries-r-redhat-9
|
||||
repo: devxygmbh/arm-binaries-${PLATFORM}
|
||||
username: devxygmbh
|
||||
password:
|
||||
from_secret: dockerhub_token_devxygmbh
|
||||
|
|
@ -28,3 +34,42 @@ steps:
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue