diff --git a/.drone.yml b/.drone.yml index 20535b6..f612af5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,21 +6,26 @@ platform: os: linux arch: amd64 +volumes: +- name: dockersock + host: + path: /var/run/docker.sock + steps: -- name: docker - image: thegeeklab/drone-docker-buildx - privileged: true +- name: build-and-push-image + image: plugins/docker + volumes: + - name: dockersock + path: "/var/run/docker.sock" settings: - registry: gargoton.coissac.eu username: from_secret: registry_username password: from_secret: registry_pwd - repo: gargoton.coissac.eu/image/bastionssh - - latest - - 0.0.1 - platforms: - - linux/amd64 + repo: image/bastionssh + tags: + - nightbuild + dockerfile: ./Dockerfile # Where the Dockerfile is located in your git repository trigger: branch: