mirror of
https://github.com/danog/php.git
synced 2024-11-26 20:04:58 +01:00
Add woodpecker build
This commit is contained in:
parent
520b73c1e6
commit
2bbb4b624d
@ -1,12 +1,3 @@
|
||||
matrix:
|
||||
variant:
|
||||
- "alpineedge/cli"
|
||||
- "alpineedge/fpm"
|
||||
- "sid/cli"
|
||||
- "sid/fpm"
|
||||
platform:
|
||||
- linux/riscv64
|
||||
|
||||
clone:
|
||||
git:
|
||||
when:
|
||||
@ -20,29 +11,18 @@ clone:
|
||||
tags: true
|
||||
|
||||
pipeline:
|
||||
docker:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
repo: danog/php
|
||||
dockerfile: "8.2/${variant}/Dockerfile"
|
||||
platforms: ${platform}
|
||||
tag: 8.2-${variant}
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
||||
docker-latest:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
repo: danog/madelineproto
|
||||
dockerfile: "8.2/sid/cli/Dockerfile"
|
||||
platforms: ${platform}
|
||||
platforms: linux/riscv64
|
||||
tag: latest
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
platform: linux/riscv64
|
||||
|
||||
docker-latest-8.2:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
@ -50,8 +30,12 @@ pipeline:
|
||||
settings:
|
||||
repo: danog/madelineproto
|
||||
dockerfile: "8.2/sid/cli/Dockerfile"
|
||||
platforms: ${platform}
|
||||
platforms: linux/riscv64
|
||||
tag: 8.2
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- push
|
||||
platform: linux/riscv64
|
||||
|
||||
depends_on:
|
||||
- variants
|
32
.woodpecker/.variants.yml
Normal file
32
.woodpecker/.variants.yml
Normal file
@ -0,0 +1,32 @@
|
||||
matrix:
|
||||
variant:
|
||||
- "alpineedge/cli"
|
||||
- "alpineedge/fpm"
|
||||
- "sid/cli"
|
||||
- "sid/fpm"
|
||||
|
||||
clone:
|
||||
git:
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
image: woodpeckerci/plugin-git:v1.5.0
|
||||
settings:
|
||||
depth: 1
|
||||
lfs: false
|
||||
recursive: false
|
||||
tags: true
|
||||
|
||||
pipeline:
|
||||
docker:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
repo: danog/php
|
||||
dockerfile: "8.2/${variant}/Dockerfile"
|
||||
platforms: linux/riscv64
|
||||
tag: 8.2-${variant}
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
platform: linux/riscv64
|
Loading…
Reference in New Issue
Block a user