diff --git a/.drone.yml b/.drone.yml index 553ac51..efaa318 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,13 @@ kind: pipeline -type: exec +type: docker name: default -platform: - os: linux - arch: amd64 - steps: - name: build and push + image: docker:dind + volumes: + - name: dockersock + path: /var/run commands: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - make docker_release @@ -15,6 +15,14 @@ steps: branch: - master +services: + - name: docker + image: docker:dind + privileged: true + volumes: + - name: dockersock + path: /var/run + trigger: event: - push