[PR #3225] [MERGED] added info log when container image platform mismatched #2595

Closed
opened 2026-03-01 22:37:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/3225
Author: @rmfleet
Created: 5/24/2025
Status: Merged
Merged: 6/19/2025
Merged by: @mergify[bot]

Base: masterHead: improve-platform-matched-logging


📝 Commits (4)

  • ae166be added info log when container image platform mismatched
  • 7bf89aa merge with master
  • 8677944 inline image architecture comparison into ImageExistsLocally function as per review request
  • 9565d86 Merge branch 'master' into improve-platform-matched-logging

📊 Changes

1 file changed (+7 additions, -1 deletions)

View changed files

📝 pkg/container/docker_images.go (+7 -1)

📄 Description

Relates to issue https://github.com/nektos/act/issues/2585
Relates to issue https://github.com/nektos/act/issues/1633

where the container image platform architecture doesn't match and a local image is being used, leading to the code then attempting to fetch remotely.

This can be confusing as no error is provided about the mismatched architecture and if no remote image exists, the run fails.

Added info logging to indicate that the platforms do not match as a hint.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/3225 **Author:** [@rmfleet](https://github.com/rmfleet) **Created:** 5/24/2025 **Status:** ✅ Merged **Merged:** 6/19/2025 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `improve-platform-matched-logging` --- ### 📝 Commits (4) - [`ae166be`](https://github.com/nektos/act/commit/ae166be1ec7955fde2639dcac4cc861667049f49) added info log when container image platform mismatched - [`7bf89aa`](https://github.com/nektos/act/commit/7bf89aa29d113f5b7a2889fa1826f98fbdb7c2f3) merge with master - [`8677944`](https://github.com/nektos/act/commit/8677944394e6a0eaae0dc62bebf818fc14394f1d) inline image architecture comparison into ImageExistsLocally function as per review request - [`9565d86`](https://github.com/nektos/act/commit/9565d86985a1d2c4cbf4ab6b6545e3470958d590) Merge branch 'master' into improve-platform-matched-logging ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `pkg/container/docker_images.go` (+7 -1) </details> ### 📄 Description Relates to issue https://github.com/nektos/act/issues/2585 Relates to issue https://github.com/nektos/act/issues/1633 where the container image platform architecture doesn't match and a local image is being used, leading to the code then attempting to fetch remotely. This can be confusing as no error is provided about the mismatched architecture and if no remote image exists, the run fails. Added info logging to indicate that the platforms do not match as a hint. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 22:37:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#2595
No description provided.