buildimage/.woodpecker.yml
Tobias Schmidl 808c42df23
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
.woodpecker.yml aktualisiert
2023-09-21 22:37:30 +02:00

29 lines
711 B
YAML

# SPDX-FileCopyrightText: 2023 Tobias Schmidl
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
variables:
- &repo 'git.schmidl.dev/schtobia/buildimage'
steps:
docker-build:
image: woodpeckerci/plugin-docker-buildx
group: build
settings:
repo: *repo
registry: git.schmidl.dev
dry_run: true
# output: type=oci,dest=${CI_REPO_OWNER}-buildimage.tar
publish-next-agent:
image: woodpeckerci/plugin-docker-buildx
group: publish
secrets: [docker_username, docker_password]
settings:
repo: *repo
registry: git.schmidl.dev
dockerfile: dockerfile
platforms: linux/amd64,linux/arm64/v8
when:
branch: master
event: push
...