diff options
author | Alex Auvolat <lx@deuxfleurs.fr> | 2024-12-23 18:00:22 +0100 |
---|---|---|
committer | Alex Auvolat <lx@deuxfleurs.fr> | 2024-12-23 18:00:22 +0100 |
commit | 428ad2075d0c8bc7cec4920dafe70671ec4a216e (patch) | |
tree | 8c417a624c88d885d3b85416946b5b12819748ec /.woodpecker/publish.yaml | |
parent | 3661a597fa40e6396049e4dd9fef50c14fa9e9d9 (diff) | |
download | garage-428ad2075d0c8bc7cec4920dafe70671ec4a216e.tar.gz garage-428ad2075d0c8bc7cec4920dafe70671ec4a216e.zip |
woodpecker: use modern syntax for secrets (removes warning)
Diffstat (limited to '.woodpecker/publish.yaml')
-rw-r--r-- | .woodpecker/publish.yaml | 10 |
1 files changed, 5 insertions, 5 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" |