Secrets may not be passed as environment variables anymore.
This commit is contained in:
parent
0963e34707
commit
de9c3a881c
|
@ -1,8 +1,11 @@
|
||||||
steps:
|
steps:
|
||||||
build-bot:
|
build-bot:
|
||||||
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
|
||||||
context: bot
|
context: bot
|
||||||
dockerfile: bot/Dockerfile
|
dockerfile: bot/Dockerfile
|
||||||
repo: dentaku/vollmond-bot
|
repo: dentaku/vollmond-bot
|
||||||
|
@ -19,9 +22,12 @@ steps:
|
||||||
- event: manual
|
- event: manual
|
||||||
|
|
||||||
build-webpage:
|
build-webpage:
|
||||||
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/vollmond
|
repo: dentaku/vollmond
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
|
|
Loading…
Reference in a new issue