buildimage/.woodpecker.yml
Tobias Schmidl af0c32c7ba
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix: Repaired woodpecker pipeline
Reviewed-on: #1
2023-09-21 22:44:06 +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
...