Skip to content

Commit

Permalink
update version refs in README
Browse files Browse the repository at this point in the history
  • Loading branch information
LongLiveCHIEF committed Nov 27, 2020
1 parent 7bc5364 commit a2c8d24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:
# Image Tagger
- name: Image Tag Strategy
id: tagging
uses: HackerHappyHour/tagging-strategy@v1
uses: HackerHappyHour/tagging-strategy@v2
if: ${{ github.event_name == 'release' }}
with:
latest: true
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:
uses: actions/checkout@v2
- name: Produce Docker Tags
id: tagging
uses: HackerHappyHour/tagging-strategy@v1
uses: HackerHappyHour/tagging-strategy@v2
with:
latest: github.event_type
tags: |
Expand Down
5 changes: 4 additions & 1 deletion __tests__/__data__/taggingStrategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ exports.scenarios = [
['1,1.0,1.0.0',{inputTags:'%X%,%X.Y%,%X.Y.Z%', tagName:'1.0.0'}],
['foo/bar:1,foo/bar:1.0,foo/bar:1.0.0',{inputTags:'%X%,%X.Y%,%X.Y.Z%', tagName:'1.0.0', imageName: 'foo/bar'}],
['foo/bar:1,foo/bar:1.0,foo/bar:1.0.0,foo/bar:latest',{inputTags:'%X%,%X.Y%,%X.Y.Z%', tagName:'1.0.0', imageName: 'foo/bar', latest: true}],
['1,1.0,1.0.0,latest',{inputTags:'%X%,%X.Y%,%X.Y.Z%', tagName:'1.0.0', latest: true}]
['1,1.0,1.0.0,latest',{inputTags:'%X%,%X.Y%,%X.Y.Z%', tagName:'1.0.0', latest: true}],
['1-foobar,1.0-foobar,1.0.0-foobar',{inputTags:'%X%-foobar,%X.Y%-foobar,%X.Y.Z%-foobar', tagName:'1.0.0'}],
['1-foobar,1.0-foobar,1.0.0-foobar,latest',{inputTags:'%X%-foobar,%X.Y%-foobar,%X.Y.Z%-foobar', tagName:'1.0.0', latest: true}],
['hello/world:1-foobar,hello/world:1.0-foobar,hello/world:1.0.0-foobar,hello/world:latest',{inputTags:'%X%-foobar,%X.Y%-foobar,%X.Y.Z%-foobar', tagName:'1.0.0', latest: true, imageName: 'hello/world'}],
]

0 comments on commit a2c8d24

Please sign in to comment.