aboutsummaryrefslogtreecommitdiff
path: root/.woodpecker/release.yaml
diff options
context:
space:
mode:
authorAlex Auvolat <lx@deuxfleurs.fr>2024-12-23 18:00:22 +0100
committerAlex Auvolat <lx@deuxfleurs.fr>2024-12-23 18:00:22 +0100
commit428ad2075d0c8bc7cec4920dafe70671ec4a216e (patch)
tree8c417a624c88d885d3b85416946b5b12819748ec /.woodpecker/release.yaml
parent3661a597fa40e6396049e4dd9fef50c14fa9e9d9 (diff)
downloadgarage-428ad2075d0c8bc7cec4920dafe70671ec4a216e.tar.gz
garage-428ad2075d0c8bc7cec4920dafe70671ec4a216e.zip
woodpecker: use modern syntax for secrets (removes warning)
Diffstat (limited to '.woodpecker/release.yaml')
-rw-r--r--.woodpecker/release.yaml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml
index c57d7272..baf81b0c 100644
--- a/.woodpecker/release.yaml
+++ b/.woodpecker/release.yaml
@@ -48,11 +48,10 @@ steps:
image: nixpkgs/nix:nixos-22.05
environment:
TARGET: "${TARGET}"
- secrets:
- - source: garagehq_aws_access_key_id
- target: AWS_ACCESS_KEY_ID
- - source: garagehq_aws_secret_access_key
- target: AWS_SECRET_ACCESS_KEY
+ AWS_ACCESS_KEY_ID:
+ from_secret: garagehq_aws_access_key_id
+ AWS_SECRET_ACCESS_KEY:
+ from_secret: garagehq_aws_secret_access_key
commands:
- nix-shell --attr ci --run "to_s3"