Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
👍 version and update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-takei committed Dec 4, 2019
1 parent 268d48d commit ddfd9ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ docker tag myimage myorg/myimage:1.2-nocdn
docker tag myimage myorg/myimage:1-nocdn
```

## With the 'latest' tag
## Append additional tags

```yaml
steps:
Expand All @@ -105,17 +105,18 @@ steps:
source: 'myimage'
target: myorg/myimage
semver: '1.2.3'
suffix: '-nocdn'
additional-tags: 'latest,lts'
```
exec following command:
```bash
docker tag myimage myorg/myimage:1.2.3
docker tag myimage myorg/myimage:1.2
docker tag myimage myorg/myimage:1
docker tag myimage myorg/myimage:latest
docker tag myimage myorg/myimage:lts
docker tag myimage myorg/myimage:1.2.3-nocdn
docker tag myimage myorg/myimage:1.2-nocdn
docker tag myimage myorg/myimage:1-nocdn
docker tag myimage myorg/myimage:latest-nocdn
docker tag myimage myorg/myimage:lts-nocdn
```

## Release Candidate
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ghaction-docker-tag-by-semver",
"version": "1.0.4",
"version": "1.0.5",
"main": "dist/index.js",
"repository": "https://github.com/weseek/ghaction-docker-tag-by-semver.git",
"author": "Yuki Takei <[email protected]>",
Expand Down

0 comments on commit ddfd9ed

Please sign in to comment.