mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #2777] [CLOSED] feat: Default to host architecture for containers and enhance ARM CI #2590
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#2590
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/2777
Author: @alvidofaisal
Created: 5/21/2025
Status: ❌ Closed
Base:
master← Head:feat/arm-defaults-ci📝 Commits (1)
946d036feat: 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:
Default Container Architecture to Host:
actnow 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-architectureflag is not specified. This simplifies usage for you on ARM-based systems like Apple Silicon, allowingactto use native ARM images more seamlessly.Enhanced CI for
linux/arm64: Thetest-linuxjob within thechecks.ymlCI workflow has been updated to includelinux/arm64in its test matrix. This ensures that tests are executed natively on bothamd64andarm64for Linux, improving test coverage for ARM platforms.Updated Documentation: The
README.mdhas been updated to:--container-architectureflag.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.