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:
- 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