feat: Suppression de la generation du contenaire Docker
This commit is contained in:
parent
680d8c0463
commit
5535a90e8d
48
.drone.yml
48
.drone.yml
|
@ -1,21 +1,3 @@
|
||||||
---
|
|
||||||
# drone encrypt weko/cremeaux $REGISTRY_PASSWORD
|
|
||||||
kind: secret
|
|
||||||
name: REGISTRY_PASSWORD
|
|
||||||
data: LBA/OxVYdvjpnkkt4xIf5qtGyr4ih3bPlp8M+ApLDuCDwzXsbzhjzNWoN46gynvrK4arcrDERtjTZmsK/m2WJyBhsQH4lPnIYHauZG/K
|
|
||||||
|
|
||||||
---
|
|
||||||
# drone encrypt weko/cremeaux $REGISTRY_USER
|
|
||||||
kind: secret
|
|
||||||
name: REGISTRY_USER
|
|
||||||
data: Pbz4Z6a319mG7QOUsPuAV79rlEkrMvNB4Ce+ePAGsdDKuQ==
|
|
||||||
|
|
||||||
---
|
|
||||||
# drone encrypt weko/cremeaux "{\"auths\":{\"https://registry.weko.io\":{\"auth\":\"$(echo -n "$REGISTRY_USER:$REGISTRY_PASSWORD" | base64)\",\"email\":\"$REGISTRY_USER\"}}}"
|
|
||||||
kind: secret
|
|
||||||
name: REGISTRY_CONFIG
|
|
||||||
data: bfQfncKvtcLiePl+YODLHN5LyQ5mB3eWj2dVqbyDd78gv1E+jzhb/4W/B3u1bMyMPlw1Q2/XIWBF5D9kVcTHjh/x2fo7LpYPmk5JZeXEP9qsRk+Td/JEmCm9Bbp+uUEigs2jZFAebAfGseP9rS7KyYEmEkO/JcXVjFZAWgmjvnuZBi8jApUJEorqo+e6lhclceljCSITIC6jA/bwggeqtVxoNVf2r8BBLIL3
|
|
||||||
|
|
||||||
---
|
---
|
||||||
# drone encrypt weko/cremeaux $DIRECTUS_URL
|
# drone encrypt weko/cremeaux $DIRECTUS_URL
|
||||||
kind: secret
|
kind: secret
|
||||||
|
@ -94,18 +76,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- node themes/hugo-theme-lowtech/scripts/typo
|
- node themes/hugo-theme-lowtech/scripts/typo
|
||||||
|
|
||||||
- name: push docker image on registry
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: REGISTRY_USER
|
|
||||||
password:
|
|
||||||
from_secret: REGISTRY_PASSWORD
|
|
||||||
repo: registry.weko.io/cremeaux
|
|
||||||
registry: registry.weko.io
|
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
environment:
|
environment:
|
||||||
|
@ -116,9 +86,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- hugo deploy --environment production
|
- hugo deploy --environment production
|
||||||
|
|
||||||
image_pull_secrets:
|
|
||||||
- REGISTRY_CONFIG
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: hugo-theme-lowtech_node_modules
|
- name: hugo-theme-lowtech_node_modules
|
||||||
host:
|
host:
|
||||||
|
@ -166,18 +133,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- node themes/hugo-theme-lowtech/scripts/typo
|
- node themes/hugo-theme-lowtech/scripts/typo
|
||||||
|
|
||||||
- name: push docker image on registry
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: REGISTRY_USER
|
|
||||||
password:
|
|
||||||
from_secret: REGISTRY_PASSWORD
|
|
||||||
repo: registry.weko.io/cremeaux
|
|
||||||
registry: registry.weko.io
|
|
||||||
tags:
|
|
||||||
- staging
|
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
environment:
|
environment:
|
||||||
|
@ -188,9 +143,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- hugo deploy --environment staging
|
- hugo deploy --environment staging
|
||||||
|
|
||||||
image_pull_secrets:
|
|
||||||
- REGISTRY_CONFIG
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: hugo-theme-lowtech_node_modules
|
- name: hugo-theme-lowtech_node_modules
|
||||||
host:
|
host:
|
||||||
|
|
Loading…
Reference in New Issue