diff --git a/.drone.yml b/.drone.yml index 81414fb..4a32cff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,13 +11,14 @@ steps: - go test ./... - name: build docker image - image: docker:24-dind + image: docker:24 privileged: true - environment: - DOCKER_HOST: tcp://localhost:2375 + volumes: + - /var/run/docker.sock:/var/run/docker.sock commands: - docker build -t link-shortener:latest . + services: - name: redis image: redis:latest