2023-05-29 23:14:56 +02:00
|
|
|
platform: linux/arm64 # Connected via buildx to starfive2
|
|
|
|
|
2023-05-28 19:53:36 +02:00
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
image: woodpeckerci/plugin-git:v1.5.0
|
|
|
|
settings:
|
|
|
|
depth: 1
|
|
|
|
lfs: false
|
|
|
|
recursive: false
|
|
|
|
tags: true
|
|
|
|
|
|
|
|
pipeline:
|
2023-05-29 21:41:56 +02:00
|
|
|
alpine-cli:
|
2023-05-29 23:52:55 +02:00
|
|
|
image: docker:cli
|
2023-05-28 19:53:36 +02:00
|
|
|
secrets: [docker_username, docker_password]
|
2023-05-29 23:52:55 +02:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
commands:
|
2023-05-29 23:58:06 +02:00
|
|
|
- ./build.sh
|
2023-05-28 19:53:36 +02:00
|
|
|
when:
|
|
|
|
event:
|
2023-05-29 21:41:56 +02:00
|
|
|
- push
|
|
|
|
|
|
|
|
sid-cli:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
settings:
|
|
|
|
repo: danog/php
|
|
|
|
dockerfile: "8.2/sid/cli/Dockerfile"
|
|
|
|
platforms: linux/riscv64
|
|
|
|
tag: 8.2
|
|
|
|
cache_from: type=registry,ref=danog/php:8.2
|
|
|
|
cache_to: type=inline
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
|
|
|
|
alpine-fpm:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
settings:
|
|
|
|
repo: danog/php
|
|
|
|
dockerfile: "8.2/alpineedge/fpm/Dockerfile"
|
|
|
|
platforms: linux/riscv64
|
|
|
|
tag: 8.2-fpm-alpine
|
|
|
|
cache_from: type=registry,ref=danog/php:8.2-fpm-alpine
|
|
|
|
cache_to: type=inline
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
sid-fpm:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
settings:
|
|
|
|
repo: danog/php
|
|
|
|
dockerfile: "8.2/sid/fpm/Dockerfile"
|
|
|
|
platforms: linux/riscv64
|
|
|
|
tag: 8.2-fpm
|
|
|
|
cache_from: type=registry,ref=danog/php:8.2-fpm
|
|
|
|
cache_to: type=inline
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|