buildimage/.woodpecker.yml

30 lines
711 B
YAML
Raw Normal View History

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