From bd214f8fb8b68f8d9730875affe06ead13765113 Mon Sep 17 00:00:00 2001 From: Ian Letourneau Date: Mon, 11 Aug 2025 19:49:06 -0400 Subject: [PATCH] fix: remove sha256 for harmony composer image in harmony_composer workflow --- .gitea/workflows/harmony_composer.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/harmony_composer.yaml b/.gitea/workflows/harmony_composer.yaml index fbb809b..273922a 100644 --- a/.gitea/workflows/harmony_composer.yaml +++ b/.gitea/workflows/harmony_composer.yaml @@ -7,7 +7,7 @@ on: jobs: package_harmony_composer: container: - image: hub.nationtech.io/harmony/harmony_composer:latest@sha256:eb0406fcb95c63df9b7c4b19bc50ad7914dd8232ce98e9c9abef628e07c69386 + image: hub.nationtech.io/harmony/harmony_composer:latest runs-on: dind steps: - name: Checkout code @@ -45,14 +45,14 @@ jobs: -H "Authorization: token ${{ secrets.GITEATOKEN }}" \ "https://git.nationtech.io/api/v1/repos/nationtech/harmony/releases/tags/snapshot-latest" \ | jq -r '.id // empty') - + if [ -n "$RELEASE_ID" ]; then # Delete existing release curl -X DELETE \ -H "Authorization: token ${{ secrets.GITEATOKEN }}" \ "https://git.nationtech.io/api/v1/repos/nationtech/harmony/releases/$RELEASE_ID" fi - + # Create new release RESPONSE=$(curl -X POST \ -H "Authorization: token ${{ secrets.GITEATOKEN }}" \ @@ -65,7 +65,7 @@ jobs: "prerelease": true }' \ "https://git.nationtech.io/api/v1/repos/nationtech/harmony/releases") - + echo "RELEASE_ID=$(echo $RESPONSE | jq -r '.id')" >> $GITHUB_ENV - name: Upload Linux binary