From 74d1eece9c5f91668f7013147664417a0b34e0f5 Mon Sep 17 00:00:00 2001 From: Shruthi Kumar Date: Thu, 15 Aug 2024 13:03:34 -0700 Subject: [PATCH] Update publish with edge (#72) * updating to edge Signed-off-by: sk593 * update to edge cli Signed-off-by: sk593 * update to edge cli Signed-off-by: sk593 --------- Signed-off-by: sk593 (cherry picked from commit 2a091fe44fad4aac7a0da86eb350a292c5186f74) --- .github/workflows/publish-recipes.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-recipes.yaml b/.github/workflows/publish-recipes.yaml index 50b74a4..68d9b3c 100644 --- a/.github/workflows/publish-recipes.yaml +++ b/.github/workflows/publish-recipes.yaml @@ -43,10 +43,16 @@ jobs: uses: actions/checkout@v3 - name: Parse release version and set environment variables run: python ./.github/scripts/get_release_version.py - - name: Download latest rad CLI + - name: Set up ORAS + uses: oras-project/setup-oras@v1 + with: + version: '1.2.0' + - name: Verify ORAS installation + run: oras version + - name: Download rad CLI run: | echo "Downloading latest rad CLI" - wget -q "${{ env.RAD_CLI_URL }}" -O - | /bin/bash + wget -q "${{ env.RAD_CLI_URL }}" -O - | /bin/bash -s edge - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: @@ -96,10 +102,16 @@ jobs: uses: actions/checkout@v3 - name: Parse release version and set environment variables run: python ./.github/scripts/get_release_version.py + - name: Set up ORAS + uses: oras-project/setup-oras@v1 + with: + version: '1.2.0' + - name: Verify ORAS installation + run: oras version - name: Download rad CLI run: | echo "Downloading latest rad CLI" - wget -q "${{ env.RAD_CLI_URL }}" -O - | /bin/bash + wget -q "${{ env.RAD_CLI_URL }}" -O - | /bin/bash -s edge - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: