Secrets may not be passed as environment variables anymore.
https://github.com/woodpecker-ci/woodpecker/issues/4096#issuecomment-2339593515
This commit is contained in:
parent
8f11110c36
commit
09f523b5ab
|
@ -1,8 +1,11 @@
|
||||||
steps:
|
steps:
|
||||||
docker-build:
|
docker-build:
|
||||||
secrets: [docker_username, docker_password]
|
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
repo: dentaku/postfix
|
repo: dentaku/postfix
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
|
|
Loading…
Reference in a new issue