Mise à jour de '.drone.yml'
This commit is contained in:
parent
70a8e1d5d6
commit
c0743b1333
21
.drone.yml
21
.drone.yml
@ -1,12 +1,3 @@
|
|||||||
kind: pipeline
|
|
||||||
name: hugo
|
|
||||||
type: docker
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: submodules
|
- name: submodules
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
@ -26,6 +17,18 @@ steps:
|
|||||||
- apk add libc6-compat libstdc++
|
- apk add libc6-compat libstdc++
|
||||||
- /bin/hugo
|
- /bin/hugo
|
||||||
|
|
||||||
|
- name: push
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: dockerregistry.legaragenumerique.fr
|
||||||
|
repo: hugo-site
|
||||||
|
username:
|
||||||
|
from_secret: REGISTRY_USER
|
||||||
|
password:
|
||||||
|
from_secret: REGISTRY_PASSWORD
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
Loading…
x
Reference in New Issue
Block a user