fix: Repaired pushing to registry
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful

Reviewed-on: #2
Co-authored-by: Tobias Schmidl <tobias@schmidl.dev>
Co-committed-by: Tobias Schmidl <tobias@schmidl.dev>
This commit is contained in:
Tobias Schmidl 2023-09-22 08:34:50 +02:00 committed by Tobias Schmidl
parent af0c32c7ba
commit 874ecd0c01
4 changed files with 15 additions and 13 deletions

View file

@ -1,6 +1,7 @@
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
variables:
- &repo 'git.schmidl.dev/schtobia/buildimage'
@ -12,7 +13,10 @@ steps:
repo: *repo
registry: git.schmidl.dev
dry_run: true
# output: type=oci,dest=${CI_REPO_OWNER}-buildimage.tar
when:
branch:
exclude: [ master ]
event: push
publish-next-agent:
image: woodpeckerci/plugin-docker-buildx
@ -23,6 +27,10 @@ steps:
registry: git.schmidl.dev
dockerfile: dockerfile
platforms: linux/amd64,linux/arm64/v8
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: master
event: push