From fe05d33a886857b7508916f5dd6c7f150d87f38f Mon Sep 17 00:00:00 2001 From: Simon C Date: Tue, 24 Mar 2020 11:22:05 +0100 Subject: [PATCH] feat: Add registry config --- .drone.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index ae53c38..0768605 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,21 @@ --- +# drone encrypt kosssi/histoiredunpied $REGISTRY_PASSWORD kind: secret name: REGISTRY_PASSWORD data: KfwWUQN54AA9BJakPJPagNNAS60amR1Iknerx0jESiupz+W+zn7EoEo4WMmXJVu043AxPcCbGlFN+KTmt8eyAOyXqWK3zMUoBXHYaPQa --- +# drone encrypt kosssi/histoiredunpied $REGISTRY_USER kind: secret name: REGISTRY_USER data: DbrlPJuIlZPS9A/GYlSP0Og/SFJY8flEgEFrebtCa/AnOg== +#--- +# drone encrypt kosssi/histoiredunpied "{\"auths\":{\"registry.lamelio.fr\":\"$(echo -n "$REGISTRY_USER:$REGISTRY_PASSWORD" | base64)\"}}" +#kind: secret +#name: REGISTRY_CONFIG +#data: rnuOlcgnrebLlAbHeZRqTtjjGFHgB1lMJUNMv6DJKQ592ZDeJxZQEQWpF1yw5b7LBp++9CoRp7c1+xywItddsYXKJdDXozHKpx5kt93ZroicG0WZN6HouBRq6Jcu/NXUx7H5KxN2/fDIvC+HxNok/6MjhdcBTf3ALpdd+57k1k+2ulPYjpLzzb+Goao= + --- kind: pipeline type: docker @@ -19,7 +27,7 @@ platform: steps: - name: install - image: registry.lamelio.fr/kosssi/hugo + image: kosssi/hugo:0.0.1 commands: - git submodule update --init - (cd themes/hugo-theme-lowtech && npm i) @@ -42,3 +50,6 @@ steps: auto_tag: true tags: - latest + +# image_pull_secrets: +# - REGISTRY_CONFIG