Mise à jour de '.drone.yml'
This commit is contained in:
parent
ae1997eb6d
commit
61ee278bbd
19
.drone.yml
19
.drone.yml
@ -26,17 +26,20 @@ steps:
|
||||
- apk add libc6-compat libstdc++
|
||||
- /bin/hugo
|
||||
|
||||
- name: push
|
||||
- name: build-and-push-image
|
||||
image: plugins/docker
|
||||
volumes:
|
||||
- name: hugosource
|
||||
path: "/src"
|
||||
- name: dockersock
|
||||
path: "/var/run/docker.sock" # Mandatory
|
||||
settings:
|
||||
registry: dockerregistry.legaragenumerique.fr
|
||||
repo: hugo-site
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
username: LeGarage
|
||||
password:
|
||||
from_secret: REGISTRY_PASSWORD
|
||||
tags:
|
||||
- latest
|
||||
from_secret: REGISTRY_PASSWORD # Configure the secret in the Drone repository setting
|
||||
repo: <dockerhub user>/<repo>
|
||||
tags: 0.0.1
|
||||
dockerfile: ./build/Dockerfile # Where the Dockerfile is located in your git repository
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
Loading…
x
Reference in New Issue
Block a user