Mise à jour de '.drone.yml'
This commit is contained in:
parent
b0394641c4
commit
307bcb5be4
@ -8,12 +8,12 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: submodules
|
- name: git pull submodules
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
- name: build
|
- name: build hugo site
|
||||||
image: plugins/hugo
|
image: plugins/hugo
|
||||||
settings:
|
settings:
|
||||||
hugo_version: 0.69.0
|
hugo_version: 0.69.0
|
||||||
@ -27,14 +27,13 @@ steps:
|
|||||||
- apk add libc6-compat libstdc++
|
- apk add libc6-compat libstdc++
|
||||||
- /bin/hugo
|
- /bin/hugo
|
||||||
|
|
||||||
- name: build-and-push-image
|
- name: build docker image and push to registry
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
# user: root
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: hugosource
|
- name: hugosource
|
||||||
path: "/src"
|
path: "/src"
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: "/var/run/docker.sock" # Mandatory
|
path: "/var/run/docker.sock"
|
||||||
settings:
|
settings:
|
||||||
debug: true
|
debug: true
|
||||||
username:
|
username:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user