2
0
Fork 0
mirror of https://code.forgejo.org/docker/metadata-action.git synced 2025-09-17 02:06:56 +00:00

is_not_default_branch global expression

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2025-07-31 15:18:21 +02:00
parent be19121bfd
commit 2bc3f4e0f1
No known key found for this signature in database
GPG key ID: ADE44D8C9D44FBE4
4 changed files with 44 additions and 0 deletions

View file

@ -439,6 +439,9 @@ export class Meta {
}
return 'false';
},
is_not_default_branch: function () {
return this.is_default_branch() === 'false' ? 'true' : 'false';
},
date: function (format, options) {
const m = moment(currentDate);
let tz = 'UTC';