Ivan Schaller
d3ef15ac2e
All checks were successful
ci/woodpecker/tag/publish_docker Pipeline was successful
47 lines
1 KiB
YAML
47 lines
1 KiB
YAML
#######################
|
|
# build docker images #
|
|
#######################
|
|
# branch: master
|
|
# event: pull_request
|
|
|
|
clone:
|
|
git:
|
|
when:
|
|
branch: master
|
|
event: pull_request
|
|
image: woodpeckerci/plugin-git
|
|
|
|
pipeline:
|
|
|
|
# build docker image for amd64 - x86
|
|
dryrun-build-amd64:
|
|
when:
|
|
branch: master
|
|
event: pull_request
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
pull: true
|
|
settings:
|
|
dry_run: true
|
|
repo: olofvndrhr/flox-dockerized
|
|
platforms: linux/amd64
|
|
dockerfile: Dockerfile.amd64
|
|
auto_tag: true
|
|
auto_tag_suffix: linux-amd64
|
|
build_args: BUILD_VERSION=${CI_COMMIT_TAG}
|
|
|
|
# build docker image for arm64
|
|
dryrun-build-arm64:
|
|
when:
|
|
branch: master
|
|
event: pull_request
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
pull: true
|
|
settings:
|
|
dry_run: true
|
|
repo: olofvndrhr/flox-dockerized
|
|
platforms: linux/arm64
|
|
dockerfile: Dockerfile.arm64
|
|
auto_tag: true
|
|
auto_tag_suffix: linux-arm64
|
|
build_args: BUILD_VERSION=${CI_COMMIT_TAG}
|
|
|