From 2a14703097b4eca5e88b9e347f7396ead4b6ca63 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Tue, 11 May 2021 21:38:19 +0200 Subject: [PATCH] [#45] Let's try some other env vars --- .woodpecker.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2feb095..788d3c7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,12 +5,10 @@ pipeline: pull: true endpoint: https://s3.roosens.me - access_key: ${S3_USER} - secret_key: ${S3_PASSWORD} root: build-cache/ restore: true - secrets: [ s3_user, s3_password ] + secrets: [ cache_s3_access_key, cache_s3_secret_key ] # =====LINTING===== @@ -58,15 +56,13 @@ pipeline: image: plugins/s3-cache endpoint: https://s3.roosens.me - access_key: ${S3_USER} - secret_key: ${S3_PASSWORD} root: build-cache/ rebuild: true mount: - target - web/node_modules - secrets: [ s3_user, s3_password ] + secrets: [ cache_s3_access_key, cache_s3_secret_key ] # Push the cache, even on failure when: status: [ success, failure ] @@ -75,14 +71,12 @@ pipeline: image: plugins/s3-cache endpoint: https://s3.roosens.me - access_key: ${S3_USER} - secret_key: ${S3_PASSWORD} root: build-cache/ flush: true # Delete cache older than 30 days (might lower this) flush_age: 30 - secrets: [ s3_user, s3_password ] + secrets: [ cache_s3_access_key, cache_s3_secret_key ] # Push the cache, even on failure when: status: [ success, failure ]