1
0

copy files over to example repo

This commit is contained in:
2022-09-18 18:47:53 -07:00
commit f124c47d34
5 changed files with 115 additions and 0 deletions

32
readme.md Normal file
View File

@@ -0,0 +1,32 @@
## `docker` image
An `alpine` image with `docker` installed
See https://blog.jbrumond.me/post/raspberry-pi-cluster-part-4:-gitea-and-drone for more info
### Drone CI Usage
```yaml
steps:
- name: deploy
image: docker.internal.example.com/docker
volumes:
- name: dockersock
path: /var/run/
environment:
DOCKER_REGISTRY: https://docker.internal.example.com
DOCKER_USER: drone
DOCKER_PASS:
from_secret: docker-internal-password
commands:
- /bin/docker-setup
- docker tag ...
- docker push ...
volumes:
- name: dockersock
host:
path: /var/run/
```