chore: use geeklab wp plugin
This commit is contained in:
parent
b105839354
commit
7bd2e345ce
1 changed files with 9 additions and 59 deletions
|
|
@ -2,9 +2,6 @@ when:
|
|||
- event: cron
|
||||
cron: images
|
||||
|
||||
depends_on:
|
||||
- warm_up_images
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- PLATFORM: redhat-9
|
||||
|
|
@ -30,7 +27,7 @@ matrix:
|
|||
|
||||
steps:
|
||||
- name: 'Build image'
|
||||
image: woodpeckerci/plugin-docker-buildx:4.2.0
|
||||
image: woodpeckerci/plugin-docker-buildx:5.0.0
|
||||
secrets: [RED_HAT_DEV_PW, GITHUB_PAT]
|
||||
settings:
|
||||
platforms: linux/${ARCH}
|
||||
|
|
@ -41,9 +38,15 @@ steps:
|
|||
password:
|
||||
from_secret: dockerhub_token_devxygmbh
|
||||
build_args_from_env:
|
||||
- ARCH
|
||||
- RED_HAT_DEV_PW
|
||||
- GITHUB_PAT
|
||||
- ARCH
|
||||
# FIMXE: https://codeberg.org/woodpecker-plugins/docker-buildx/issues/184#issuecomment-2425171
|
||||
# build_args:
|
||||
# RED_HAT_DEV_PW:
|
||||
# from_secret: RED_HAT_DEV_PW
|
||||
# GITHUB_PAT:
|
||||
# from_secret: GITHUB_PAT
|
||||
backend_options:
|
||||
kubernetes:
|
||||
resources:
|
||||
|
|
@ -51,7 +54,7 @@ steps:
|
|||
memory: 800Mi
|
||||
cpu: 1000m
|
||||
limits:
|
||||
memory: 130000Mi
|
||||
memory: 3000Mi
|
||||
cpu: 1000m
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: '${ARCH}'
|
||||
|
|
|
|||
Loading…
Reference in a new issue