This commit is contained in:
19
.drone.yml
19
.drone.yml
@@ -16,3 +16,22 @@ steps:
|
||||
- git rev-parse HEAD
|
||||
- echo "Latest tag:"
|
||||
- git describe --tags --abbrev=0 || echo "No tags found"
|
||||
|
||||
- name: docker-pull-test
|
||||
image: docker:cli
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- echo "=== Testing Docker image pull connectivity ==="
|
||||
- docker info
|
||||
- echo "Pulling busybox:latest ..."
|
||||
- docker pull busybox:latest
|
||||
- echo "Pulling node:20-alpine ..."
|
||||
- docker pull node:20-alpine
|
||||
- echo "✅ Docker Hub pull test completed successfully"
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
Reference in New Issue
Block a user