From 3028992285a04010f50fda2a787209d1a1fb464a Mon Sep 17 00:00:00 2001 From: Paul Z Date: Sat, 10 Jun 2023 17:15:46 +0200 Subject: [PATCH] drone ci --- .drone.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0218196..a7097ac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,8 +15,14 @@ steps: when: branch: - master - image: docker:latest - commands: - - docker login -u $REGISTRY_USER -p $REGISTRY_PASSWD $REGISTRY - - docker build -t $REGISTRY/bin:latest . -f Dockerfile - - docker push $REGISTRY/bin:latest + image: plugins/docker + volumes: + - name: dockersock + path: "/var/run/docker.sock" + settings: + username: droneci + password: + from_secret: REGISTRY_PASSWD + repo: git2.zettoit.eu/zettoit/bin + tags: latest + dockerfile: ./Dockerfile