Mise à jour de '.drone.yml'
This commit is contained in:
parent
c33ea824e8
commit
bd58ea7d28
27
.drone.yml
27
.drone.yml
@ -31,25 +31,16 @@ steps:
|
|||||||
- apk add libc6-compat libstdc++
|
- apk add libc6-compat libstdc++
|
||||||
- /bin/hugo
|
- /bin/hugo
|
||||||
|
|
||||||
- name: build docker image and push to registry
|
- name: deploy
|
||||||
image: plugins/docker
|
image: drillster/drone-rsync # image docker permettant d'utiliser rsync pour déployer des fichiers sur un ou plusieurs hôtes
|
||||||
volumes:
|
|
||||||
- name: hugosource
|
|
||||||
path: "/src"
|
|
||||||
- name: dockersock
|
|
||||||
path: "/var/run/docker.sock"
|
|
||||||
settings:
|
settings:
|
||||||
debug: true
|
hosts: ["hugo.gregandev.fr"]
|
||||||
username:
|
target: /var/www/html/hugo-site
|
||||||
from_secret: REGISTRY_USER
|
source: public/*
|
||||||
password:
|
user:
|
||||||
from_secret: REGISTRY_PASSWORD
|
from_secret: RSYNC_USER
|
||||||
registry: "dockerregistry.legaragenumerique.fr"
|
key:
|
||||||
insecure: true
|
from_secret: RSYNC_SSH_KEY
|
||||||
privileged: true
|
|
||||||
repo: "dockerregistry.legaragenumerique.fr/hugo-site"
|
|
||||||
tags: 0.1
|
|
||||||
dockerfile: ./Dockerfile
|
|
||||||
|
|
||||||
- name: notification
|
- name: notification
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
Loading…
x
Reference in New Issue
Block a user