Mise à jour de '.drone.yml'

This commit is contained in:
gregandev 2022-12-19 15:07:55 +01:00
parent b0394641c4
commit 307bcb5be4

View File

@ -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: