Use Woodpecker matrix for distro builds #3
@@ -1,71 +1,21 @@
|
|||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- DISTRO_NAME: ubuntu-22-04
|
||||||
|
IMAGE: ubuntu:22.04
|
||||||
|
- DISTRO_NAME: ubuntu-24-04
|
||||||
|
IMAGE: ubuntu:24.04
|
||||||
|
- DISTRO_NAME: ubuntu-26-04
|
||||||
|
IMAGE: ubuntu:26.04
|
||||||
|
- DISTRO_NAME: debian-12
|
||||||
|
IMAGE: debian:12
|
||||||
|
- DISTRO_NAME: debian-13
|
||||||
|
IMAGE: debian:13
|
||||||
|
- DISTRO_NAME: debian-11
|
||||||
|
IMAGE: debian:11
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-and-upload-debian-package-ubuntu-22-04
|
- name: build-and-upload-debian-package-${DISTRO_NAME}
|
||||||
image: ubuntu:22.04
|
image: ${IMAGE}
|
||||||
pull: true
|
|
||||||
environment:
|
|
||||||
GITEA_PACKAGE_TOKEN:
|
|
||||||
from_secret: gitea_token
|
|
||||||
commands:
|
|
||||||
- ./scripts/ci/bootstrap-apt.sh
|
|
||||||
- ./scripts/ci/build-package.sh
|
|
||||||
- ./scripts/ci/upload-package.sh
|
|
||||||
when:
|
|
||||||
- event: [push, cron, manual]
|
|
||||||
|
|
||||||
- name: build-and-upload-debian-package-ubuntu-24-04
|
|
||||||
image: ubuntu:24.04
|
|
||||||
pull: true
|
|
||||||
environment:
|
|
||||||
GITEA_PACKAGE_TOKEN:
|
|
||||||
from_secret: gitea_token
|
|
||||||
commands:
|
|
||||||
- ./scripts/ci/bootstrap-apt.sh
|
|
||||||
- ./scripts/ci/build-package.sh
|
|
||||||
- ./scripts/ci/upload-package.sh
|
|
||||||
when:
|
|
||||||
- event: [push, cron, manual]
|
|
||||||
|
|
||||||
- name: build-and-upload-debian-package-ubuntu-26-04
|
|
||||||
image: ubuntu:26.04
|
|
||||||
pull: true
|
|
||||||
environment:
|
|
||||||
GITEA_PACKAGE_TOKEN:
|
|
||||||
from_secret: gitea_token
|
|
||||||
commands:
|
|
||||||
- ./scripts/ci/bootstrap-apt.sh
|
|
||||||
- ./scripts/ci/build-package.sh
|
|
||||||
- ./scripts/ci/upload-package.sh
|
|
||||||
when:
|
|
||||||
- event: [push, cron, manual]
|
|
||||||
|
|
||||||
- name: build-and-upload-debian-package-debian-12
|
|
||||||
image: debian:12
|
|
||||||
pull: true
|
|
||||||
environment:
|
|
||||||
GITEA_PACKAGE_TOKEN:
|
|
||||||
from_secret: gitea_token
|
|
||||||
commands:
|
|
||||||
- ./scripts/ci/bootstrap-apt.sh
|
|
||||||
- ./scripts/ci/build-package.sh
|
|
||||||
- ./scripts/ci/upload-package.sh
|
|
||||||
when:
|
|
||||||
- event: [push, cron, manual]
|
|
||||||
|
|
||||||
- name: build-and-upload-debian-package-debian-13
|
|
||||||
image: debian:13
|
|
||||||
pull: true
|
|
||||||
environment:
|
|
||||||
GITEA_PACKAGE_TOKEN:
|
|
||||||
from_secret: gitea_token
|
|
||||||
commands:
|
|
||||||
- ./scripts/ci/bootstrap-apt.sh
|
|
||||||
- ./scripts/ci/build-package.sh
|
|
||||||
- ./scripts/ci/upload-package.sh
|
|
||||||
when:
|
|
||||||
- event: [push, cron, manual]
|
|
||||||
|
|
||||||
- name: build-and-upload-debian-package-debian-11
|
|
||||||
image: debian:11
|
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
GITEA_PACKAGE_TOKEN:
|
GITEA_PACKAGE_TOKEN:
|
||||||
|
|||||||
Reference in New Issue
Block a user