From 12f55098049fa0bb70de3d65e11cabf8a9fab22e Mon Sep 17 00:00:00 2001 From: Jeremy Eder Date: Tue, 16 Dec 2025 12:57:26 -0500 Subject: [PATCH] fix: downgrade docker/metadata-action to v5 and fix shellcheck warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The v6 tag for docker/metadata-action doesn't exist yet, causing the container build job to fail with: "Unable to resolve action docker/metadata-action@v6, unable to find version v6" Changes: - Downgrade docker/metadata-action from v6 to v5 (latest stable) - Fix shellcheck SC2086 warnings by quoting $GITHUB_STEP_SUMMARY - Fix shellcheck SC2129 by using grouped redirects ({ cmd1; cmd2; } >> file) This fixes the container build failure in the release workflow while maintaining all functionality. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/release.yml | 36 ++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ebf6e5..4bb42b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -117,7 +117,7 @@ jobs: - name: Extract metadata id: meta - uses: docker/metadata-action@v6 + uses: docker/metadata-action@v5 with: images: ghcr.io/ambient-code/agentready tags: | @@ -143,19 +143,21 @@ jobs: VERSION: ${{ needs.release.outputs.version }} REPOSITORY: ${{ github.repository }} run: | - echo "## Container Published to GHCR" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo "📦 **Version**: $VERSION" >> $GITHUB_STEP_SUMMARY - echo "🐳 **Registry**: ghcr.io/$REPOSITORY" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo "### Usage" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY - echo "# Pull latest" >> $GITHUB_STEP_SUMMARY - echo "podman pull ghcr.io/$REPOSITORY:latest" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo "# Pull specific version" >> $GITHUB_STEP_SUMMARY - echo "podman pull ghcr.io/$REPOSITORY:$VERSION" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo "# Run assessment" >> $GITHUB_STEP_SUMMARY - echo "podman run --rm -v /path/to/repo:/repo:ro ghcr.io/$REPOSITORY:latest assess /repo --output-dir /tmp/out" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY + { + echo "## Container Published to GHCR" + echo "" + echo "📦 **Version**: $VERSION" + echo "🐳 **Registry**: ghcr.io/$REPOSITORY" + echo "" + echo "### Usage" + echo "\`\`\`bash" + echo "# Pull latest" + echo "podman pull ghcr.io/$REPOSITORY:latest" + echo "" + echo "# Pull specific version" + echo "podman pull ghcr.io/$REPOSITORY:$VERSION" + echo "" + echo "# Run assessment" + echo "podman run --rm -v /path/to/repo:/repo:ro ghcr.io/$REPOSITORY:latest assess /repo --output-dir /tmp/out" + echo "\`\`\`" + } >> "$GITHUB_STEP_SUMMARY"