manga-dlp/.woodpecker/build_docker.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

2022-05-13 00:46:56 +02:00
#######################
# build docker images #
#######################
# 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
dryrun-build-amd64:
when:
branch: master
event: pull_request
image: woodpeckerci/plugin-docker-buildx
pull: true
2022-05-13 00:46:56 +02:00
settings:
dry_run: true
repo: olofvndrhr/manga-dlp
platforms: linux/amd64
2022-05-13 00:46:56 +02:00
dockerfile: docker/Dockerfile.amd64
auto_tag: true
auto_tag_suffix: linux-amd64
2022-06-18 14:58:44 +02:00
build_args: BUILD_VERSION=${CI_COMMIT_TAG}
2022-05-13 00:46:56 +02:00
# build docker image for arm64
dryrun-build-arm64:
when:
branch: master
event: pull_request
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-21 21:40:21 +02:00
auto_tag_suffix: linux-arm64
2022-06-18 14:58:44 +02:00
build_args: BUILD_VERSION=${CI_COMMIT_TAG}
2022-05-13 00:46:56 +02:00