aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <lx@deuxfleurs.fr>2025-01-27 12:06:31 +0100
committerAlex Auvolat <lx@deuxfleurs.fr>2025-01-27 12:06:31 +0100
commitf6f88065adbfd3ecb950ac79ff5e1c8a2e43fd34 (patch)
treed983647a8d99a642bd9e7bc21400e5029db7132f
parent591bd808ec7f04973340c609a1f5251a642d1600 (diff)
downloadgarage-f6f88065adbfd3ecb950ac79ff5e1c8a2e43fd34.tar.gz
garage-f6f88065adbfd3ecb950ac79ff5e1c8a2e43fd34.zip
ci: fix woodpecker definitions to comply with woodpecker 3woodpecker3
-rw-r--r--.woodpecker/publish.yaml5
-rw-r--r--.woodpecker/release.yaml4
2 files changed, 5 insertions, 4 deletions
diff --git a/.woodpecker/publish.yaml b/.woodpecker/publish.yaml
index 38458264..7522d58d 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 baf81b0c..3f4a40a0 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