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