From f6f88065adbfd3ecb950ac79ff5e1c8a2e43fd34 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 27 Jan 2025 12:06:31 +0100 Subject: [PATCH] ci: fix woodpecker definitions to comply with woodpecker 3 --- .woodpecker/publish.yaml | 5 +++-- .woodpecker/release.yaml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.woodpecker/publish.yaml b/.woodpecker/publish.yaml index 384582645..7522d58d7 100644 --- a/.woodpecker/publish.yaml +++ b/.woodpecker/publish.yaml @@ -20,8 +20,9 @@ steps: - name: multiarch-docker image: nixpkgs/nix:nixos-22.05 - secrets: - - docker_auth + environment: + DOCKER_AUTH: + from_secret: docker_auth commands: - mkdir -p /root/.docker - echo $DOCKER_AUTH > /root/.docker/config.json diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml index baf81b0cf..3f4a40a0e 100644 --- a/.woodpecker/release.yaml +++ b/.woodpecker/release.yaml @@ -60,8 +60,8 @@ steps: environment: DOCKER_PLATFORM: "linux/${ARCH}" CONTAINER_NAME: "dxflrs/${ARCH}_garage" - secrets: - - docker_auth + DOCKER_AUTH: + from_secret: docker_auth commands: - mkdir -p /root/.docker - echo $DOCKER_AUTH > /root/.docker/config.json