0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-25 09:10:39 +00:00

Added image to docs

This commit is contained in:
Thomas Boerger 2016-08-19 22:07:19 +02:00
parent 28426d9331
commit fe7d11d0b3
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6

12
DOCS.md
View File

@ -34,13 +34,13 @@ and **DOCKER_EMAIL** into secrets so it is not exposed to users. This can be
done using the drone-cli.
```bash
drone secret add --image=docker \
drone secret add --image=plugins/docker \
octocat/hello-world DOCKER_USERNAME kevinbacon
drone secret add --image=docker \
drone secret add --image=plugins/docker \
octocat/hello-world DOCKER_PASSWORD pa55word
drone secret add --image=docker \
drone secret add --image=plugins/docker \
octocat/hello-world DOCKER_EMAIL kevin.bacon@mail.com
```
@ -60,6 +60,7 @@ Simple publishing of a docker container:
```yaml
pipeline:
docker:
image: plugins/docker
username: kevinbacon
password: pa55word
email: kevin.bacon@mail.com
@ -74,6 +75,7 @@ Publish and image with multiple tags:
```yaml
pipeline:
docker:
image: plugins/docker
username: kevinbacon
password: pa55word
email: kevin.bacon@mail.com
@ -89,6 +91,7 @@ Build an image with additional arguments:
```yaml
pipeline:
docker:
image: plugins/docker
username: kevinbacon
password: pa55word
email: kevin.bacon@mail.com
@ -111,10 +114,12 @@ drivers. Just use Drone's caching feature to backup and restore the directory
```yaml
pipeline:
sftp_cache:
image: plugins/sftp-cache
restore: true
mount: /drone/docker
docker:
image: plugins/docker
storage_path: /drone/docker
username: kevinbacon
password: pa55word
@ -125,6 +130,7 @@ pipeline:
- "1.0.1"
sftp_cache:
image: plugins/sftp-cache
rebuild: true
mount: /drone/docker
```