Skip to content

Commit 69d0a7c

Browse files
authored
fix(build): missing tags due to wrong output references
Fixes publishing to GHCR failing due to referencing non-existent keys
1 parent 4db124b commit 69d0a7c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/publish-ghcr.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, "build/fix/ghcr-build"]
66
tags: ["v*"]
77

88
permissions: {}
@@ -18,8 +18,8 @@ jobs:
1818

1919
outputs:
2020
labels: ${{ steps.meta.outputs.labels }}
21-
tags: ${{ steps.metadata.outputs.tags }}
22-
version: ${{ steps.metadata.outputs.version }}
21+
tags: ${{ steps.meta.outputs.tags }}
22+
version: ${{ steps.meta.outputs.version }}
2323
steps:
2424
# Required for docker/metadata-action
2525
- name: Checkout
@@ -45,5 +45,5 @@ jobs:
4545
with:
4646
enable-ghcr: true
4747
oci-full-repository: ghcr.io/saleor/sarif-to-annotations
48-
tags: ${{ needs.prepare-variables.outputs.tags }}
49-
labels: ${{ needs.prepare-variables.outputs.labels }}
48+
tags: ${{ needs.prepare.outputs.tags }}
49+
labels: ${{ needs.prepare.outputs.labels }}

0 commit comments

Comments
 (0)