Add semver support when using git tags (#69)

* Add semver tag support

* Allow tag_names to be a fallback for tag_semver
This commit is contained in:
Roy Bongers
2020-03-03 19:48:59 +01:00
committed by GitHub
parent a11682167c
commit b82ad077c0
4 changed files with 80 additions and 0 deletions

View File

@@ -35,6 +35,9 @@ inputs:
tag_names:
description: 'Use tag_names when you want to push tags/release by their git name'
required: false
tag_semver:
description: 'Push semver docker tags. e.g. image:1.2.3, image:1.2, image:1'
required: false
outputs:
tag:
description: 'Is the tag, which was pushed'