diff --git a/.drone.yml b/.drone.yml index 54017f6..e4028a8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,13 +4,13 @@ name: default steps: - name: build-and-push - image: plugins/docker - settings: - registry: localhost:5000 - repo: localhost:5000/testapp - tags: latest - dockerfile: Dockerfile - insecure: true + image: docker:cli + volumes: + - name: docker-sock + path: /var/run/docker.sock + commands: + - docker build -t localhost:5000/testapp:latest . + - docker push localhost:5000/testapp:latest - name: deploy image: docker:cli