[PR #2777] [CLOSED] feat: Default to host architecture for containers and enhance ARM CI #2590

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/2777
Author: @alvidofaisal
Created: 5/21/2025
Status: Closed

Base: masterHead: feat/arm-defaults-ci


📝 Commits (1)

  • 946d036 feat: Default to host architecture for containers and enhance ARM CI

📊 Changes

3 files changed (+67 additions, -12 deletions)

View changed files

📝 .github/workflows/checks.yml (+21 -2)
📝 README.md (+26 -0)
📝 cmd/root.go (+20 -10)

📄 Description

This commit introduces several improvements for ARM/M1 support:

  1. Default Container Architecture to Host: act now attempts to detect the host's Docker OS/architecture (e.g., linux/arm64) and uses this as the default for running containers if the --container-architecture flag is not specified. This simplifies usage for you on ARM-based systems like Apple Silicon, allowing act to use native ARM images more seamlessly.

  2. Enhanced CI for linux/arm64: The test-linux job within the checks.yml CI workflow has been updated to include linux/arm64 in its test matrix. This ensures that tests are executed natively on both amd64 and arm64 for Linux, improving test coverage for ARM platforms.

  3. Updated Documentation: The README.md has been updated to:

    • Explain the new default container architecture behavior.
    • Provide clearer guidance for you on ARM/M1 systems.
    • Document the --container-architecture flag.
  4. Removed Outdated M1 Warning: The specific warning message previously displayed to M1 users when no container architecture was specified has been removed from cmd/root.go. This warning is now redundant due to the new default behavior and comprehensive documentation.

These changes aim to provide a better experience on ARM architectures and ensure more robust testing for these platforms.


🔄 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/2777 **Author:** [@alvidofaisal](https://github.com/alvidofaisal) **Created:** 5/21/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/arm-defaults-ci` --- ### 📝 Commits (1) - [`946d036`](https://github.com/nektos/act/commit/946d0363a8ec9d9b3c45e964481cdb011509f85d) feat: Default to host architecture for containers and enhance ARM CI ### 📊 Changes **3 files changed** (+67 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/checks.yml` (+21 -2) 📝 `README.md` (+26 -0) 📝 `cmd/root.go` (+20 -10) </details> ### 📄 Description This commit introduces several improvements for ARM/M1 support: 1. **Default Container Architecture to Host:** `act` now attempts to detect the host's Docker OS/architecture (e.g., `linux/arm64`) and uses this as the default for running containers if the `--container-architecture` flag is not specified. This simplifies usage for you on ARM-based systems like Apple Silicon, allowing `act` to use native ARM images more seamlessly. 2. **Enhanced CI for `linux/arm64`:** The `test-linux` job within the `checks.yml` CI workflow has been updated to include `linux/arm64` in its test matrix. This ensures that tests are executed natively on both `amd64` and `arm64` for Linux, improving test coverage for ARM platforms. 3. **Updated Documentation:** The `README.md` has been updated to: - Explain the new default container architecture behavior. - Provide clearer guidance for you on ARM/M1 systems. - Document the `--container-architecture` flag. 4. **Removed Outdated M1 Warning:** The specific warning message previously displayed to M1 users when no container architecture was specified has been removed from `cmd/root.go`. This warning is now redundant due to the new default behavior and comprehensive documentation. These changes aim to provide a better experience on ARM architectures and ensure more robust testing for these platforms. --- <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:20 +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#2590
No description provided.