fix: Repaired woodpecker pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

Reviewed-on: #1
This commit is contained in:
Tobias Schmidl 2023-09-21 22:44:06 +02:00
parent c1992b8ae2
commit af0c32c7ba

View file

@ -1,22 +1,29 @@
# 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: git.schmidl.dev/${CI-REPO_OWNER}/buildimage
repo: *repo
registry: git.schmidl.dev
dry_run: true
output: type=oci,dest=${CI_REPO_OWNER}-buildimage.tar
# 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: git.schmidl.dev/${CI-REPO_OWNER}/buildimage
repo: *repo
registry: git.schmidl.dev
dockerfile: dockerfile
platforms: linux/amd64,linux/arm64/v8
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
branch: master
event: push
...