From de9c3a881c105611e890bc23d62980538f70ad30 Mon Sep 17 00:00:00 2001 From: Thomas Renger Date: Tue, 10 Sep 2024 08:33:32 +0200 Subject: [PATCH] Secrets may not be passed as environment variables anymore. --- .woodpecker/docker.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.woodpecker/docker.yml b/.woodpecker/docker.yml index eea53ce..cad3e0a 100644 --- a/.woodpecker/docker.yml +++ b/.woodpecker/docker.yml @@ -1,8 +1,11 @@ steps: build-bot: - secrets: [docker_username, docker_password] image: woodpeckerci/plugin-docker-buildx settings: + username: + from_secret: docker_username + password: + from_secret: docker_password context: bot dockerfile: bot/Dockerfile repo: dentaku/vollmond-bot @@ -19,9 +22,12 @@ steps: - event: manual build-webpage: - secrets: [docker_username, docker_password] image: woodpeckerci/plugin-docker-buildx settings: + username: + from_secret: docker_username + password: + from_secret: docker_password repo: dentaku/vollmond tags: - latest