Update README about new auto_tag logic #1

Merged
6543 merged 3 commits from lunny/update_readme into master 2022-06-26 22:35:53 +00:00
Showing only changes of commit 7f0dacb7c6 - Show all commits

View File

@ -8,7 +8,18 @@
[![Go Doc](https://godoc.org/github.com/drone-plugins/drone-docker?status.svg)](http://godoc.org/github.com/drone-plugins/drone-docker)
[![Go Report](https://goreportcard.com/badge/github.com/drone-plugins/drone-docker)](https://goreportcard.com/report/github.com/drone-plugins/drone-docker)
Drone plugin uses Docker-in-Docker to build and publish Docker images to a container registry. For the usage information and a listing of the available options please take a look at [the docs](http://plugins.drone.io/drone-plugins/drone-docker/).
Drone plugin uses Docker-in-Docker to build and publish Docker images to a container registry.
** This repository is a fork of drone-plugins/drone-docker with a auto_tag logic changed.
When pushing a tag and using `auto_tag: true`, the logic is below(Not implemented yet):
1) Tagging a pre-release version
It will produce the tags: <original_tag>
2) Tagging a latest stable release
It will produce the tags: <original_tag>, 1, latest
3) Tagging a low version stable release
It will produce the tags: <original_tag>
## Build