[PR #2420] [CLOSED] act dind flag #2433

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/2420
Author: @ChristopherHX
Created: 8/11/2024
Status: Closed

Base: masterHead: act-dind


📝 Commits (2)

📊 Changes

4 files changed (+39 additions, -5 deletions)

View changed files

📝 cmd/input.go (+1 -0)
📝 cmd/root.go (+3 -1)
📝 pkg/runner/run_context.go (+34 -4)
📝 pkg/runner/runner.go (+1 -0)

📄 Description

Adds --dind flag, disabling this flag is causing errors :(

This makes the following work and mount $PWD correctly

Fixes #pod

on: push
jobs:
  test:
    runs-on: test
    steps:
    - uses: actions/checkout@v4
    - run: docker info
      shell: sh
    - run: docker run -v $PWD:$PWD --rm alpine:latest ls $PWD
      shell: sh

Could resolve https://github.com/nektos/act/issues/2393 or not, but not tested with podman host....


🔄 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/2420 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 8/11/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `act-dind` --- ### 📝 Commits (2) - [`d70d885`](https://github.com/nektos/act/commit/d70d885088963abdb0dc91a3e61d0944e5bc534a) act dind - [`ea7100f`](https://github.com/nektos/act/commit/ea7100f7784aea933e71cd5406b3b877005d233f) Merge branch 'master' into act-dind ### 📊 Changes **4 files changed** (+39 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `cmd/input.go` (+1 -0) 📝 `cmd/root.go` (+3 -1) 📝 `pkg/runner/run_context.go` (+34 -4) 📝 `pkg/runner/runner.go` (+1 -0) </details> ### 📄 Description Adds --dind flag, disabling this flag is causing errors :( This makes the following work and mount $PWD correctly Fixes #pod ``` on: push jobs: test: runs-on: test steps: - uses: actions/checkout@v4 - run: docker info shell: sh - run: docker run -v $PWD:$PWD --rm alpine:latest ls $PWD shell: sh ``` Could resolve https://github.com/nektos/act/issues/2393 or not, but not tested with podman host.... --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:55:26 +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#2433
No description provided.