Add tag names

This commit is contained in:
Lars Gohr
2019-10-18 22:06:08 +02:00
parent cade1bc239
commit a770e120e6
4 changed files with 34 additions and 0 deletions

View File

@@ -116,3 +116,15 @@ with:
password: ${{ secrets.DOCKER_PASSWORD }}
cache: true
```
### tag_names
Use `tag_names` when you want to push tags/release by their git name (e.g. `refs/tags/MY_TAG_NAME`).
> CAUTION: Images produced by this feature can be override by branches with the same name - without a way to restore.
```yaml
with:
name: myDocker/repository
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_names: true
```