diff options
author | Alex <lx@deuxfleurs.fr> | 2024-12-23 17:41:15 +0000 |
---|---|---|
committer | Alex <lx@deuxfleurs.fr> | 2024-12-23 17:41:15 +0000 |
commit | b8f301a61d633354762918ca63eb5fc02de52f5f (patch) | |
tree | 8c417a624c88d885d3b85416946b5b12819748ec /.woodpecker | |
parent | 3661a597fa40e6396049e4dd9fef50c14fa9e9d9 (diff) | |
parent | 428ad2075d0c8bc7cec4920dafe70671ec4a216e (diff) | |
download | garage-main.tar.gz garage-main.zip |
Merge pull request 'woodpecker: use modern syntax for secrets (removes warning)' (#912) from woodpecker-fix-warnings into mainHEADmain
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/912
Diffstat (limited to '.woodpecker')
-rw-r--r-- | .woodpecker/publish.yaml | 10 | ||||
-rw-r--r-- | .woodpecker/release.yaml | 9 |
2 files changed, 9 insertions, 10 deletions
diff --git a/.woodpecker/publish.yaml b/.woodpecker/publish.yaml index 739af2c4..38458264 100644 --- a/.woodpecker/publish.yaml +++ b/.woodpecker/publish.yaml @@ -9,11 +9,11 @@ depends_on: steps: - name: refresh-index image: nixpkgs/nix:nixos-22.05 - secrets: - - source: garagehq_aws_access_key_id - target: AWS_ACCESS_KEY_ID - - source: garagehq_aws_secret_access_key - target: AWS_SECRET_ACCESS_KEY + environment: + AWS_ACCESS_KEY_ID: + from_secret: garagehq_aws_access_key_id + AWS_SECRET_ACCESS_KEY: + from_secret: garagehq_aws_secret_access_key commands: - mkdir -p /etc/nix && cp nix/nix.conf /etc/nix/nix.conf - nix-shell --attr ci --run "refresh_index" 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" |