Ajout de la configuration de Drone CI
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
306623feae
commit
520b1f75d8
|
@ -0,0 +1,51 @@
|
||||||
|
---
|
||||||
|
# drone encrypt lowtech/lowtechweb $REGISTRY_PASSWORD
|
||||||
|
kind: secret
|
||||||
|
name: REGISTRY_PASSWORD
|
||||||
|
data: PcAbh064ltmdAbnvm9q8R8Rx2c6nN3csix0zlPOHslgjXgs/Oih03slIaIl7dmvSYtHTTbxKKk6Mx9DFUQdH+qXGtWXagorLa2ZMR9wt
|
||||||
|
|
||||||
|
---
|
||||||
|
# drone encrypt lowtech/lowtechweb $REGISTRY_USER
|
||||||
|
kind: secret
|
||||||
|
name: REGISTRY_USER
|
||||||
|
data: y5RMoikR/kNvfnbVRaUMBQNSW53bg7QEEqb/vWrV/2JoVw==
|
||||||
|
|
||||||
|
---
|
||||||
|
# drone encrypt lowtech/lowtechweb "{\"auths\":{\"https://registry.lamelio.fr\":{\"auth\":\"$(echo -n "$REGISTRY_USER:$REGISTRY_PASSWORD" | base64)\",\"email\":\"$REGISTRY_USER\"}}}"
|
||||||
|
kind: secret
|
||||||
|
name: REGISTRY_CONFIG
|
||||||
|
data: YBvxqLCtXGt2lweeODMwEJe9x8Bn+ZH5tYnEdGPADxSUbl2EtOyjVJbudHQ1oiztIEKOJhG5e5PTp7kgnp5rqTndjQSFb9EIdFRD+VV5qzeBlBBeW3PL+j1e15FPUocptEBI6jmLeuXFlWuaOmHnfbOoQsSoD7eakde6U+Tps+NvHU/37kl05v2O+30IxhcPeIIk2RvaBnNP+K7Nb0XZqKMmPNmJ3Qu/SijJkqRq
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: install
|
||||||
|
image: registry.lamelio.fr/hugo
|
||||||
|
commands:
|
||||||
|
- ./run install
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: REGISTRY_USER
|
||||||
|
password:
|
||||||
|
from_secret: REGISTRY_PASSWORD
|
||||||
|
repo: registry.lamelio.fr/lowtechweb
|
||||||
|
registry: registry.lamelio.fr
|
||||||
|
auto_tag: true
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- REGISTRY_CONFIG
|
Loading…
Reference in New Issue