2024-09-24 21:49:59 +02:00
|
|
|
when:
|
|
|
|
- event: [push, manual]
|
|
|
|
matrix:
|
|
|
|
NEXTCLOUD_VERSION:
|
|
|
|
- 28
|
|
|
|
- 29
|
2022-07-04 11:19:25 +02:00
|
|
|
steps:
|
2024-07-22 15:15:30 +02:00
|
|
|
- name: patch
|
2024-07-22 15:27:45 +02:00
|
|
|
image: debian
|
2024-09-24 21:49:59 +02:00
|
|
|
commands:
|
|
|
|
- "./patch-nextcloud.sh"
|
|
|
|
environment:
|
|
|
|
NEXTCLOUD_VERSION: ${NEXTCLOUD_VERSION}
|
2023-09-24 04:11:02 +02:00
|
|
|
- name: docker
|
2024-09-24 21:49:59 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2024-03-25 10:09:30 +01:00
|
|
|
privileged: true
|
2022-07-04 11:19:25 +02:00
|
|
|
settings:
|
2024-03-25 10:09:30 +01:00
|
|
|
registry: git.ar21.de
|
2022-07-04 11:19:25 +02:00
|
|
|
username:
|
2024-03-25 10:09:30 +01:00
|
|
|
from_secret: REGISTRY_USER
|
2022-07-04 11:19:25 +02:00
|
|
|
password:
|
2024-03-25 10:09:30 +01:00
|
|
|
from_secret: REGISTRY_PASS
|
2024-07-24 13:26:49 +02:00
|
|
|
repo: git.ar21.de/aaron/nextcloud-fpm
|
2024-09-24 21:49:59 +02:00
|
|
|
dockerfile: "nextcloud-docker/${NEXTCLOUD_VERSION}/fpm/Dockerfile"
|
|
|
|
tags_file: "nextcloud-docker/${NEXTCLOUD_VERSION}/fpm/.tags"
|
2024-03-25 10:09:30 +01:00
|
|
|
platforms:
|
|
|
|
- linux/arm64
|
|
|
|
- linux/amd64
|
2022-07-04 11:19:25 +02:00
|
|
|
when:
|
2024-09-24 21:49:59 +02:00
|
|
|
- branch: main
|
2022-07-04 11:19:25 +02:00
|
|
|
- name: docker-build
|
2024-09-24 21:49:59 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2024-03-25 10:09:30 +01:00
|
|
|
privileged: true
|
2022-07-04 11:19:25 +02:00
|
|
|
settings:
|
2024-03-25 10:09:30 +01:00
|
|
|
registry: git.ar21.de
|
2022-07-04 11:19:25 +02:00
|
|
|
username:
|
2024-03-25 10:09:30 +01:00
|
|
|
from_secret: REGISTRY_USER
|
2022-07-04 11:19:25 +02:00
|
|
|
password:
|
2024-03-25 10:09:30 +01:00
|
|
|
from_secret: REGISTRY_PASS
|
|
|
|
repo: git.ar21.de/aaron/nextcloud-fpm
|
2024-09-24 21:49:59 +02:00
|
|
|
dockerfile: "nextcloud-docker/${NEXTCLOUD_VERSION}/fpm/Dockerfile"
|
|
|
|
tags_file: "nextcloud-docker/${NEXTCLOUD_VERSION}/fpm/.tags"
|
2024-03-25 10:09:30 +01:00
|
|
|
platforms:
|
|
|
|
- linux/arm64
|
|
|
|
- linux/amd64
|
2022-07-04 11:19:25 +02:00
|
|
|
dry_run: true
|
|
|
|
when:
|
2024-09-24 21:49:59 +02:00
|
|
|
- branch:
|
|
|
|
exclude: main
|