Skip to content

Commit 67aabbe

Browse files
akafazovnexus49
authored andcommitted
sign component remotely
1 parent 954c5cd commit 67aabbe

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ocm.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -492,16 +492,17 @@ jobs:
492492
MARKETPLACE_UI_VERSION=${{ env.MARKETPLACE_UI_VERSION }} \
493493
TERMINAL_CONTROLLER_MANAGER_VERSION=${{ env.TERMINAL_CONTROLLER_MANAGER_VERSION }}
494494
495+
- name: Transfer to OCM REPO
496+
if: steps.version_check.outputs.needs_update == 'true'
497+
run: ./ocm transfer ctf .ocm/transport.ctf "ghcr.io/platform-mesh"
498+
495499
- name: Sign OCM Component
496500
if: steps.version_check.outputs.needs_update == 'true'
497501
run: |
498502
printf '%s' "$OCM_SIGNING_PRIVATE_KEY" > /tmp/ocm-signing.priv
499503
./ocm sign componentversions --signature platform-mesh --private-key /tmp/ocm-signing.priv \
500-
"directory::.ocm/transport.ctf//github.com/platform-mesh/platform-mesh:${{ env.VERSION }}"
504+
"oci://ghcr.io/platform-mesh//github.com/platform-mesh/platform-mesh:${{ env.VERSION }}"
501505
rm -f /tmp/ocm-signing.priv
502506
env:
503507
OCM_SIGNING_PRIVATE_KEY: ${{ secrets.OCM_SIGNING_PRIVATE_KEY }}
504508

505-
- name: Transfer to OCM REPO
506-
if: steps.version_check.outputs.needs_update == 'true'
507-
run: ./ocm transfer ctf .ocm/transport.ctf "ghcr.io/platform-mesh"

0 commit comments

Comments
 (0)