diff --git a/.drone.yml b/.drone.yml index 0285737..d417734 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: