use host docker daemon for build
continuous-integration/drone/push Build is passing

This commit is contained in:
root
2026-09-12 16:25:50 +08:00
parent fc7d62f21f
commit dfebcc6ee0
+7 -7
View File
@@ -4,13 +4,13 @@ name: default
steps: steps:
- name: build-and-push - name: build-and-push
image: plugins/docker image: docker:cli
settings: volumes:
registry: localhost:5000 - name: docker-sock
repo: localhost:5000/testapp path: /var/run/docker.sock
tags: latest commands:
dockerfile: Dockerfile - docker build -t localhost:5000/testapp:latest .
insecure: true - docker push localhost:5000/testapp:latest
- name: deploy - name: deploy
image: docker:cli image: docker:cli