diff --git a/.woodpecker/dns.yml b/.woodpecker/dns.yml index dd0c008..145e9ad 100644 --- a/.woodpecker/dns.yml +++ b/.woodpecker/dns.yml @@ -12,14 +12,13 @@ pipeline: - terraform init - terraform validate - terraform plan -var "token=$LINODE_TOKEN" - environment: - LINODE_TOKEN: - from_secret: linode_token - AWS_ACCESS_KEY_ID: - from_secret: aws_access_key_id - AWS_SECRET_ACCESS_KEY: - from_secret: aws_secret_access_key - secrets: [linode_token, aws_access_key_id, aws_secret_access_key] + secrets: + - source: linode_token + target: LINODE_TOKEN + - source: aws_access_key_id + target: AWS_ACCESS_KEY_ID + - source: aws_secret_access_key + target: AWS_SECRET_ACCESS_KEY deploy: image: alpine:3.16