[PR #1674] [MERGED] Support for docker steps in host environment #2066

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1674
Author: @shubham149
Created: 3/10/2023
Status: Merged
Merged: 3/14/2023
Merged by: @mergify[bot]

Base: masterHead: host_env_container_step


📝 Commits (2)

  • de048f9 Support for docker steps in host environment
  • 8be7541 removed workdir changes

📊 Changes

2 files changed (+11 additions, -4 deletions)

View changed files

📝 pkg/runner/action.go (+5 -2)
📝 pkg/runner/run_context.go (+6 -2)

📄 Description

Network mode in host environment is set to container network earlier. But the container network is not present. This PR uses default as network mode in case host environment is enabled.

Also, setting working directory for container step to same as one specified in the input params.


🔄 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/1674 **Author:** [@shubham149](https://github.com/shubham149) **Created:** 3/10/2023 **Status:** ✅ Merged **Merged:** 3/14/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `host_env_container_step` --- ### 📝 Commits (2) - [`de048f9`](https://github.com/nektos/act/commit/de048f973056aa9acec5a51cd7bbddbaedf40c05) Support for docker steps in host environment - [`8be7541`](https://github.com/nektos/act/commit/8be75414bd5775e4b6bf5d607806d0ea071813e7) removed workdir changes ### 📊 Changes **2 files changed** (+11 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/action.go` (+5 -2) 📝 `pkg/runner/run_context.go` (+6 -2) </details> ### 📄 Description Network mode in host environment is set to container network earlier. But the container network is not present. This PR uses default as network mode in case host environment is enabled. Also, setting working directory for container step to same as one specified in the input params. --- <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:52 +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#2066
No description provided.