update drone.yml - test docker socket access
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
15
drone.yml
15
drone.yml
@@ -3,6 +3,16 @@ type: docker
|
|||||||
name: build-and-push-multiarch
|
name: build-and-push-multiarch
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: check-docker
|
||||||
|
image: docker:26
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: docker_sock
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
commands:
|
||||||
|
- docker info
|
||||||
|
|
||||||
- name: build-amd64
|
- name: build-amd64
|
||||||
image: docker:26
|
image: docker:26
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -47,3 +57,8 @@ steps:
|
|||||||
--amend ${REGISTRY_URL}/portainer-agent-tailscale:amd64 \
|
--amend ${REGISTRY_URL}/portainer-agent-tailscale:amd64 \
|
||||||
--amend ${REGISTRY_URL}/portainer-agent-tailscale:arm64
|
--amend ${REGISTRY_URL}/portainer-agent-tailscale:arm64
|
||||||
- docker manifest push ${REGISTRY_URL}/portainer-agent-tailscale:latest
|
- docker manifest push ${REGISTRY_URL}/portainer-agent-tailscale:latest
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: docker_sock
|
||||||
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
Reference in New Issue
Block a user