2022-06-22 19:27:03 +02:00
|
|
|
############################
|
|
|
|
# test build docker images #
|
|
|
|
############################
|
2022-05-13 00:46:56 +02:00
|
|
|
# branch: master
|
|
|
|
# event: pull_request
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- tests
|
|
|
|
|
2022-05-13 11:49:13 +02:00
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
event: pull_request
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
|
2022-05-13 00:46:56 +02:00
|
|
|
pipeline:
|
|
|
|
|
|
|
|
# build docker image for amd64 - x86
|
2022-06-22 19:27:03 +02:00
|
|
|
test-build-amd64:
|
2022-05-13 00:46:56 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
event: pull_request
|
2022-05-13 11:38:36 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
pull: true
|
2022-05-13 00:46:56 +02:00
|
|
|
settings:
|
|
|
|
dry_run: true
|
|
|
|
repo: olofvndrhr/manga-dlp
|
2022-05-13 11:38:36 +02:00
|
|
|
platforms: linux/amd64
|
2022-05-13 00:46:56 +02:00
|
|
|
dockerfile: docker/Dockerfile.amd64
|
|
|
|
auto_tag: true
|
2022-06-22 19:27:03 +02:00
|
|
|
auto_tag_suffix: linux-amd64-test
|
2022-07-14 15:26:11 +02:00
|
|
|
build_args: BUILD_VERSION=2.1.10
|
2022-05-13 00:46:56 +02:00
|
|
|
|
|
|
|
# build docker image for arm64
|
2022-06-22 19:27:03 +02:00
|
|
|
test-build-arm64:
|
2022-05-13 00:46:56 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
event: pull_request
|
2022-05-13 11:38:36 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
pull: true
|
2022-05-13 00:46:56 +02:00
|
|
|
settings:
|
|
|
|
dry_run: true
|
|
|
|
repo: olofvndrhr/manga-dlp
|
2022-05-13 13:53:35 +02:00
|
|
|
platforms: linux/arm64
|
2022-05-13 00:46:56 +02:00
|
|
|
dockerfile: docker/Dockerfile.arm64
|
|
|
|
auto_tag: true
|
2022-06-22 19:27:03 +02:00
|
|
|
auto_tag_suffix: linux-arm64-test
|
2022-07-14 15:26:11 +02:00
|
|
|
build_args: BUILD_VERSION=2.1.10
|