mirror of
https://github.com/docker/metadata-action.git
synced 2026-01-21 13:48:57 +08:00
Generate latest tag by default on push tag event
This commit is contained in:
parent
5ecce77816
commit
b246670a3c
4 changed files with 20 additions and 11 deletions
|
|
@ -377,10 +377,11 @@ describe('push tag', () => {
|
|||
} as Inputs,
|
||||
{
|
||||
version: 'release1',
|
||||
latest: false
|
||||
latest: true
|
||||
} as Version,
|
||||
[
|
||||
'user/app:release1'
|
||||
'user/app:release1',
|
||||
'user/app:latest'
|
||||
],
|
||||
[
|
||||
"org.opencontainers.image.title=Hello-World",
|
||||
|
|
@ -400,10 +401,11 @@ describe('push tag', () => {
|
|||
} as Inputs,
|
||||
{
|
||||
version: '20200110-RC2',
|
||||
latest: false
|
||||
latest: true
|
||||
} as Version,
|
||||
[
|
||||
'user/app:20200110-RC2'
|
||||
'user/app:20200110-RC2',
|
||||
'user/app:latest'
|
||||
],
|
||||
[
|
||||
"org.opencontainers.image.title=Hello-World",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue