diff options
author | trinity-1686a <trinity@deuxfleurs.fr> | 2025-02-08 16:01:11 +0100 |
---|---|---|
committer | trinity-1686a <trinity@deuxfleurs.fr> | 2025-02-08 16:01:11 +0100 |
commit | f034e834fa70f579bfd85745aea533b4328cbce4 (patch) | |
tree | 0ec66ad7ad96ea32b8582f1c0566959c17f4b823 /.woodpecker/publish.yaml | |
parent | bf0f7924189444683077ce80b7d72303b2b20145 (diff) | |
parent | d3226bfa91d4500063c5c287c6256729dcbb3f88 (diff) | |
download | garage-f034e834fa70f579bfd85745aea533b4328cbce4.tar.gz garage-f034e834fa70f579bfd85745aea533b4328cbce4.zip |
Merge branch 'main' into 1686a/s3-redirects
Diffstat (limited to '.woodpecker/publish.yaml')
-rw-r--r-- | .woodpecker/publish.yaml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.woodpecker/publish.yaml b/.woodpecker/publish.yaml index 739af2c4..7522d58d 100644 --- a/.woodpecker/publish.yaml +++ b/.woodpecker/publish.yaml @@ -9,19 +9,20 @@ 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" - 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 |