0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-29 04:30:36 +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. done using the drone-cli.
```bash ```bash
drone secret add --image=docker \ drone secret add --image=plugins/docker \
octocat/hello-world DOCKER_USERNAME kevinbacon octocat/hello-world DOCKER_USERNAME kevinbacon
drone secret add --image=docker \ drone secret add --image=plugins/docker \
octocat/hello-world DOCKER_PASSWORD pa55word 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 octocat/hello-world DOCKER_EMAIL kevin.bacon@mail.com
``` ```
@ -60,6 +60,7 @@ Simple publishing of a docker container:
```yaml ```yaml
pipeline: pipeline:
docker: docker:
image: plugins/docker
username: kevinbacon username: kevinbacon
password: pa55word password: pa55word
email: kevin.bacon@mail.com email: kevin.bacon@mail.com
@ -74,6 +75,7 @@ Publish and image with multiple tags:
```yaml ```yaml
pipeline: pipeline:
docker: docker:
image: plugins/docker
username: kevinbacon username: kevinbacon
password: pa55word password: pa55word
email: kevin.bacon@mail.com email: kevin.bacon@mail.com
@ -89,6 +91,7 @@ Build an image with additional arguments:
```yaml ```yaml
pipeline: pipeline:
docker: docker:
image: plugins/docker
username: kevinbacon username: kevinbacon
password: pa55word password: pa55word
email: kevin.bacon@mail.com email: kevin.bacon@mail.com
@ -111,10 +114,12 @@ drivers. Just use Drone's caching feature to backup and restore the directory
```yaml ```yaml
pipeline: pipeline:
sftp_cache: sftp_cache:
image: plugins/sftp-cache
restore: true restore: true
mount: /drone/docker mount: /drone/docker
docker: docker:
image: plugins/docker
storage_path: /drone/docker storage_path: /drone/docker
username: kevinbacon username: kevinbacon
password: pa55word password: pa55word
@ -125,6 +130,7 @@ pipeline:
- "1.0.1" - "1.0.1"
sftp_cache: sftp_cache:
image: plugins/sftp-cache
rebuild: true rebuild: true
mount: /drone/docker mount: /drone/docker
``` ```