mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-09 17:20:39 +00:00
added plugin docs
This commit is contained in:
parent
496b9ee067
commit
84a5a2abc6
18
.drone.yml
Normal file
18
.drone.yml
Normal file
@ -0,0 +1,18 @@
|
||||
build
|
||||
image: go
|
||||
commands:
|
||||
- go test
|
||||
- go build
|
||||
- go test
|
||||
|
||||
plugin:
|
||||
name: Docker
|
||||
desc: Build and Publish images to a Docker registry.
|
||||
type: publish
|
||||
image: plugins/drone-docker
|
||||
labels:
|
||||
- docker
|
||||
- image
|
||||
- container
|
||||
|
||||
|
21
DOCS.md
Normal file
21
DOCS.md
Normal file
@ -0,0 +1,21 @@
|
||||
Use the Docker plugin to build and push Docker images to a registry.
|
||||
The following parameters are used to configuration this plugin:
|
||||
|
||||
* **username** - authenticates with this username
|
||||
* **password** - authenticates with this password
|
||||
* **email** - authenticates with this email
|
||||
* **repo** - repository name for the image
|
||||
* **tag** - repository tag for the image
|
||||
|
||||
The following is a sample Docker configuration in your .drone.yml file:
|
||||
|
||||
```yaml
|
||||
pubish:
|
||||
docker:
|
||||
username: kevinbacon
|
||||
password: $$DOCKER_PASSWORD
|
||||
email: kevin.bacon@mail.com
|
||||
repo: foo/bar
|
||||
tag: latest
|
||||
file: Dockerfile
|
||||
```
|
Loading…
Reference in New Issue
Block a user