From bb60131369b74eb941aa10b19499c70ce1081f5d Mon Sep 17 00:00:00 2001 From: Omichi Kenichi Date: Thu, 9 Jul 2026 08:11:24 +0000 Subject: [PATCH] Push oci compose.yaml --- .github/workflows/pull-request.yml | 9 +++++++++ .../apps/edge-app/application-description/margo.yaml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a353c49..e75f004 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -112,6 +112,15 @@ jobs: ls helm push *.tgz oci://ghcr.io/$OWNER + - name: Push compose.yaml + run: | + OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]') + cd try-margo/plugfest202607/apps/edge-app/docker-compose/ + echo "${{ secrets.GITHUB_TOKEN }}" | oras login ghcr.io -u ${{ github.actor }} --password-stdin + oras push ghcr.io/$OWNER/compose-artifact:v1.0.0 \ + --artifact-type application/vnd.example.compose \ + compose.yaml:application/yaml + - name: Push application package run: | OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]') diff --git a/try-margo/plugfest202607/apps/edge-app/application-description/margo.yaml b/try-margo/plugfest202607/apps/edge-app/application-description/margo.yaml index 64b9a83..9eb3fc2 100644 --- a/try-margo/plugfest202607/apps/edge-app/application-description/margo.yaml +++ b/try-margo/plugfest202607/apps/edge-app/application-description/margo.yaml @@ -23,4 +23,4 @@ deploymentProfiles: components: - name: edge-app-docker properties: - packageLocation: https://raw.githubusercontent.com/oomichi-melco/try-margo/refs/heads/main/try-margo/plugfest202607/apps/edge-app/docker-compose/compose.yaml + packageLocation: ghcr.io/oomichi-melco/compose-artifact:v1.0.0