fix: pass docker_username, docker_password to publish stage
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
84d4b50404
commit
fc80df1ce7
1 changed files with 12 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
||||||
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
|
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
---
|
---
|
||||||
variables:
|
variables:
|
||||||
- &repo 'git.schmidl.dev/schtobia/buildimage'
|
- &repo 'git.schmidl.dev/schtobia/buildimage'
|
||||||
|
@ -12,7 +13,10 @@ steps:
|
||||||
repo: *repo
|
repo: *repo
|
||||||
registry: git.schmidl.dev
|
registry: git.schmidl.dev
|
||||||
dry_run: true
|
dry_run: true
|
||||||
# output: type=oci,dest=${CI_REPO_OWNER}-buildimage.tar
|
when:
|
||||||
|
branch:
|
||||||
|
exclude: [ master ]
|
||||||
|
event: push
|
||||||
|
|
||||||
publish-next-agent:
|
publish-next-agent:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
@ -23,7 +27,11 @@ steps:
|
||||||
registry: git.schmidl.dev
|
registry: git.schmidl.dev
|
||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
platforms: linux/amd64,linux/arm64/v8
|
platforms: linux/amd64,linux/arm64/v8
|
||||||
when:
|
username:
|
||||||
branch: master
|
from_secret: docker_username
|
||||||
event: push
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
#when:
|
||||||
|
# branch: master
|
||||||
|
# event: push
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue