Skip to content

Make "Check Image Tags (Last Release)" non-blocking#421

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/fix-github-actions-job-failure
Draft

Make "Check Image Tags (Last Release)" non-blocking#421
Copilot wants to merge 3 commits intomainfrom
copilot/fix-github-actions-job-failure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 5, 2026

Bug Fix

What was the bug?

The "Check Image Tags (Last Release)" workflow job fails when templates reference image tags that exist in the images repo's main branch but haven't been released yet. This blocks PRs like #417 (adding .NET 11 preview support) where the corresponding images PR was merged but not yet released.

How did you fix it?

Modified .github/workflows/check-image-tags.yaml to convert failures into warnings:

- name: Check image tags (last release)
  run: |
    if ! npx tsx build/check-image-tags.ts images; then
      echo "::warning::Image tag check against last release failed - templates may reference newer images not yet released"
    fi
    exit 0

This matches the existing behavior of the "Check Image Tags (Latest)" job and prevents the chicken-and-egg problem where templates can't be updated until images are released.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job for image tag comparison Make "Check Image Tags (Last Release)" non-blocking May 5, 2026
Copilot AI requested a review from abdurriq May 5, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants