buildimage/.woodpecker.yml

26 lines
679 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
2023-09-13 17:35:00 +02:00
---
2023-09-13 17:26:12 +02:00
steps:
docker-build:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.schmidl.dev/${CI-REPO_OWNER}/buildimage
registry: git.schmidl.dev
dry_run: true
output: type=oci,dest=${CI_REPO_OWNER}-buildimage.tar
2023-09-13 17:35:00 +02:00
2023-09-13 17:26:12 +02:00
publish-next-agent:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: git.schmidl.dev/${CI-REPO_OWNER}/buildimage
dockerfile: dockerfile
platforms: linux/amd64,linux/arm64/v8
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event: push
2023-09-13 17:35:00 +02:00
...