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

Add tz attribute to handlebar date function

Signed-off-by: chroju <chroju@users.noreply.github.com>
This commit is contained in:
chroju 2022-12-29 09:01:17 +09:00
parent c98ac5e987
commit 90a1d5cf21
No known key found for this signature in database
GPG key ID: 7F63A4E620B812C8
10 changed files with 136 additions and 31 deletions

View file

@ -95,7 +95,7 @@ export function Parse(s: string): Tag {
for (const field of fields) {
const parts = field
.toString()
.split('=')
.split(/(?<=^[^=]+?)=/)
.map(item => item.trim());
if (parts.length == 1) {
tag.attrs['value'] = parts[0];