Skip to content

Commit 82c96a9

Browse files
committed
fix(ci): syntax error
1 parent a0cc993 commit 82c96a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ jobs:
4141
cache-from: |
4242
type=gha,scope=deps
4343
type=registry,ref=ghcr.io/${{ github.repository_owner }}/podmortem-log-parser:deps-cache
44-
cache-to: |
45-
type=gha,mode=max,scope=deps
46-
${{ github.event_name == 'push' && 'type=registry,ref=ghcr.io/${{ github.repository_owner }}/podmortem-log-parser:deps-cache,mode=max' || '' }}
44+
cache-to: |
45+
type=gha,mode=max,scope=deps
46+
${{ github.event_name == 'push' && format('type=registry,ref=ghcr.io/{0}/podmortem-log-parser:deps-cache,mode=max', github.repository_owner) || '' }}
4747
tags: |
4848
${{ github.event_name == 'push' && format('ghcr.io/{0}/podmortem-log-parser:deps-cache', github.repository_owner) || '' }}
4949
build-args: |

0 commit comments

Comments
 (0)