feat: Add registry config

This commit is contained in:
Simon 2020-03-24 11:22:05 +01:00
parent 62e6dbcd6b
commit fe05d33a88
1 changed files with 12 additions and 1 deletions

View File

@ -1,13 +1,21 @@
--- ---
# drone encrypt kosssi/histoiredunpied $REGISTRY_PASSWORD
kind: secret kind: secret
name: REGISTRY_PASSWORD name: REGISTRY_PASSWORD
data: KfwWUQN54AA9BJakPJPagNNAS60amR1Iknerx0jESiupz+W+zn7EoEo4WMmXJVu043AxPcCbGlFN+KTmt8eyAOyXqWK3zMUoBXHYaPQa data: KfwWUQN54AA9BJakPJPagNNAS60amR1Iknerx0jESiupz+W+zn7EoEo4WMmXJVu043AxPcCbGlFN+KTmt8eyAOyXqWK3zMUoBXHYaPQa
--- ---
# drone encrypt kosssi/histoiredunpied $REGISTRY_USER
kind: secret kind: secret
name: REGISTRY_USER name: REGISTRY_USER
data: DbrlPJuIlZPS9A/GYlSP0Og/SFJY8flEgEFrebtCa/AnOg== 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 kind: pipeline
type: docker type: docker
@ -19,7 +27,7 @@ platform:
steps: steps:
- name: install - name: install
image: registry.lamelio.fr/kosssi/hugo image: kosssi/hugo:0.0.1
commands: commands:
- git submodule update --init - git submodule update --init
- (cd themes/hugo-theme-lowtech && npm i) - (cd themes/hugo-theme-lowtech && npm i)
@ -42,3 +50,6 @@ steps:
auto_tag: true auto_tag: true
tags: tags:
- latest - latest
# image_pull_secrets:
# - REGISTRY_CONFIG