fix: pass docker_username, docker_password to publish stage
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
Tobias Schmidl 2023-09-22 08:18:22 +02:00
parent 5c722b47c6
commit c8bbe73cd2
2 changed files with 11 additions and 1 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

View file

@ -5,3 +5,5 @@ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# buildimage
![pipeline status](https://ci.schmidl.dev/api/badges/3/status.svg?branch=master)