From fee01cd6c7a0f3e68188c004430b79fd3f5fbeca Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Wed, 1 Apr 2026 23:32:46 -0700 Subject: [PATCH] Comment out Docker image promotion and pull instructions in release workflow - Temporarily disabled the steps for promoting Docker images from staging to release tags and appending Docker pull instructions to release notes in the GitHub Actions workflow. This change prevents potential errors during the release process while maintaining the structure for future implementation.lease --- .github/workflows/release.yml | 46 +++++++++++++++++------------------ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b511d409..1341ca33b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -620,32 +620,32 @@ jobs: } core.info('All required installer assets are present.'); - - name: Promote Docker image from staging to release tags - env: - REGISTRY: ghcr.io - IMAGE_NAME: tinyhumansai/openhuman-core - TAG: ${{ needs.prepare-release.outputs.tag }} - run: | - # Log in to GHCR - echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin + # - name: Promote Docker image from staging to release tags + # env: + # REGISTRY: ghcr.io + # IMAGE_NAME: tinyhumansai/openhuman-core + # TAG: ${{ needs.prepare-release.outputs.tag }} + # run: | + # # Log in to GHCR + # echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin - STAGING="${REGISTRY}/${IMAGE_NAME}:staging-${TAG}" - VERSIONED="${REGISTRY}/${IMAGE_NAME}:${TAG}" - LATEST="${REGISTRY}/${IMAGE_NAME}:latest" + # STAGING="${REGISTRY}/${IMAGE_NAME}:staging-${TAG}" + # VERSIONED="${REGISTRY}/${IMAGE_NAME}:${TAG}" + # LATEST="${REGISTRY}/${IMAGE_NAME}:latest" - echo "Promoting ${STAGING} → ${VERSIONED}, ${LATEST}" - docker buildx imagetools create --tag "${VERSIONED}" --tag "${LATEST}" "${STAGING}" + # echo "Promoting ${STAGING} → ${VERSIONED}, ${LATEST}" + # docker buildx imagetools create --tag "${VERSIONED}" --tag "${LATEST}" "${STAGING}" - - name: Append Docker pull instructions to release notes - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAG: ${{ needs.prepare-release.outputs.tag }} - IMAGE_NAME: tinyhumansai/openhuman-core - run: | - gh release view "${TAG}" --repo tinyhumansai/openhuman --json body -q .body > /tmp/body.md - printf '\n---\n\n### Docker\n\n```\ndocker pull ghcr.io/%s:%s\ndocker run -p 7788:7788 --env-file .env ghcr.io/%s:%s\n```\n' \ - "${IMAGE_NAME}" "${TAG}" "${IMAGE_NAME}" "${TAG}" >> /tmp/body.md - gh release edit "${TAG}" --repo tinyhumansai/openhuman --notes-file /tmp/body.md + # - name: Append Docker pull instructions to release notes + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # TAG: ${{ needs.prepare-release.outputs.tag }} + # IMAGE_NAME: tinyhumansai/openhuman-core + # run: | + # gh release view "${TAG}" --repo tinyhumansai/openhuman --json body -q .body > /tmp/body.md + # printf '\n---\n\n### Docker\n\n```\ndocker pull ghcr.io/%s:%s\ndocker run -p 7788:7788 --env-file .env ghcr.io/%s:%s\n```\n' \ + # "${IMAGE_NAME}" "${TAG}" "${IMAGE_NAME}" "${TAG}" >> /tmp/body.md + # gh release edit "${TAG}" --repo tinyhumansai/openhuman --notes-file /tmp/body.md - name: Publish release uses: actions/github-script@v7