copy files over to example repo
This commit is contained in:
32
readme.md
Normal file
32
readme.md
Normal 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/
|
||||
```
|
||||
Reference in New Issue
Block a user