Mise à jour de '.drone.yml'

This commit is contained in:
gregandev 2022-12-19 13:12:24 +01:00
parent 67f6381023
commit 81c0422297

View File

@ -6,14 +6,6 @@ platform:
os: linux
arch: arm64
volumes:
- name: hugosource
host:
path: "/drone/src"
- name: dockersock
host:
path: /var/run/docker.sock
steps:
- name: submodules
@ -40,15 +32,16 @@ steps:
volumes:
- name: hugosource
path: "/src"
- name: dockersock
path: "/var/run/docker.sock" # Mandatory
# - name: dockersock
# path: "/var/run/docker.sock" # Mandatory
settings:
username: "LeGarage"
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASSWORD # Configure the secret in the Drone repository setting
from_secret: REGISTRY_PASSWORD
repo: "dockerregistry.legaragenumerique.fr/hugo-site"
tags: 0.0.1
dockerfile: ./Dockerfile # Where the Dockerfile is located in your git repository
tags: 0.1
dockerfile: ./Dockerfile
trigger:
branch: