From fc80df1ce7cb5fdd3a0d3f5750ab44b8836317a0 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Fri, 22 Sep 2023 08:18:22 +0200 Subject: [PATCH] fix: pass docker_username, docker_password to publish stage --- .woodpecker.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1e1fe20..a9b87b4 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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,7 +27,11 @@ steps: registry: git.schmidl.dev dockerfile: dockerfile platforms: linux/amd64,linux/arm64/v8 - when: - branch: master - event: push + username: + from_secret: docker_username + password: + from_secret: docker_password + #when: + # branch: master + # event: push ...