mirror of
https://github.com/thegeeklab/drone-docker.git
synced 2024-11-23 13:20:40 +00:00
move privileged hint to usage section in docs
This commit is contained in:
parent
dd51fb117d
commit
bd8a7ffab9
@ -23,6 +23,10 @@ The tags follow the major version of Docker, e.g. `19`, the minor and patch part
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
{{< hint type=important >}}
|
||||||
|
Be aware that the this plugin requires privileged capabilities, otherwise the integrated Docker daemon is not able to start.
|
||||||
|
{{< /hint >}}
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
@ -66,10 +70,6 @@ docker build --file docker/Dockerfile.amd64 --tag thegeeklab/drone-docker .
|
|||||||
|
|
||||||
## Test
|
## Test
|
||||||
|
|
||||||
{{< hint type=important >}}
|
|
||||||
Be aware that the this plugin requires privileged capabilities, otherwise the integrated Docker daemon is not able to start.
|
|
||||||
{{< /hint >}}
|
|
||||||
|
|
||||||
```Shell
|
```Shell
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-e PLUGIN_TAG=latest \
|
-e PLUGIN_TAG=latest \
|
||||||
|
@ -95,7 +95,7 @@ properties:
|
|||||||
required: false
|
required: false
|
||||||
|
|
||||||
auto_tag:
|
auto_tag:
|
||||||
description: >
|
description: |
|
||||||
Generate tag names automatically based on git branch and git tag. When this feature is enabled and the event type is `tag`,
|
Generate tag names automatically based on git branch and git tag. When this feature is enabled and the event type is `tag`,
|
||||||
the plugin will automatically tag the image using the standard semVer convention. For example:
|
the plugin will automatically tag the image using the standard semVer convention. For example:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user