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