[PR #1462] [MERGED] feat: --container-options #1957

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1462
Author: @ChristopherHX
Created: 11/24/2022
Status: Merged
Merged: 12/6/2022
Merged by: @mergify[bot]

Base: masterHead: container-options


📝 Commits (5)

  • 34b725e feat: --container-options
  • 38942fb Merge binds/mounts, add desc
  • 6cc47b9 avoid linter error
  • f28de81 fix: apply options to step env / deprecate warning
  • 55d9942 Merge branch 'master' into container-options

📊 Changes

6 files changed (+28 additions, -1 deletions)

View changed files

📝 cmd/input.go (+1 -0)
📝 cmd/root.go (+18 -0)
📝 pkg/container/docker_run.go (+6 -0)
📝 pkg/runner/action.go (+1 -0)
📝 pkg/runner/run_context.go (+1 -1)
📝 pkg/runner/runner.go (+1 -0)

📄 Description

This deprecates the following options

  • --privileged
  • --container-cap-add
  • --container-cap-drop
  • --container-architecture
  • --userns

If we decide to get rid of the options, we might want to add a warning before removal.


🔄 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/1462 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 11/24/2022 **Status:** ✅ Merged **Merged:** 12/6/2022 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `container-options` --- ### 📝 Commits (5) - [`34b725e`](https://github.com/nektos/act/commit/34b725eebbd619dab4d9067094d791d02f142098) feat: `--container-options` - [`38942fb`](https://github.com/nektos/act/commit/38942fb01fbc313ccb157d536f5e67a2cd5bea00) Merge binds/mounts, add desc - [`6cc47b9`](https://github.com/nektos/act/commit/6cc47b989ab6cb6808588df88f51ab81be153acf) avoid linter error - [`f28de81`](https://github.com/nektos/act/commit/f28de813074635534ece0ebc150a52a4004f9ba0) fix: apply options to step env / deprecate warning - [`55d9942`](https://github.com/nektos/act/commit/55d99428bd4cff5396fa325a8f27c05aefaa2625) Merge branch 'master' into container-options ### 📊 Changes **6 files changed** (+28 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/input.go` (+1 -0) 📝 `cmd/root.go` (+18 -0) 📝 `pkg/container/docker_run.go` (+6 -0) 📝 `pkg/runner/action.go` (+1 -0) 📝 `pkg/runner/run_context.go` (+1 -1) 📝 `pkg/runner/runner.go` (+1 -0) </details> ### 📄 Description This deprecates the following options - `--privileged` - `--container-cap-add` - `--container-cap-drop` - `--container-architecture` - `--userns` If we decide to get rid of the options, we might want to add a warning before removal. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:53:24 +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#1957
No description provided.