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