[PR #38] [MERGED] Add flag to skip pulling images already present #1335

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/38
Author: @marccampbell
Created: 2/18/2019
Status: Merged
Merged: 2/19/2019
Merged by: @cplee

Base: masterHead: optional-docker-pull


📝 Commits (1)

  • 7fadbdb Add flag to skip pulling images already present

📊 Changes

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

View changed files

📝 actions/api.go (+1 -0)
📝 actions/runner_exec.go (+19 -4)
📝 cmd/root.go (+1 -0)
container/docker_images.go (+33 -0)
container/docker_images_test.go (+42 -0)

📄 Description

One way to close #37.

Adds a flag to skip pulling when an action uses is a docker image. This allows local docker images to be used that aren't pushed to a registry, but not built during act execution.

I'm open to different approaches, or a discussion about if this is even a good idea to add. Alternative approaches?


🔄 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/38 **Author:** [@marccampbell](https://github.com/marccampbell) **Created:** 2/18/2019 **Status:** ✅ Merged **Merged:** 2/19/2019 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `optional-docker-pull` --- ### 📝 Commits (1) - [`7fadbdb`](https://github.com/nektos/act/commit/7fadbdb6e83b81700d10b2e1f6256718104f7b68) Add flag to skip pulling images already present ### 📊 Changes **5 files changed** (+96 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `actions/api.go` (+1 -0) 📝 `actions/runner_exec.go` (+19 -4) 📝 `cmd/root.go` (+1 -0) ➕ `container/docker_images.go` (+33 -0) ➕ `container/docker_images_test.go` (+42 -0) </details> ### 📄 Description One way to close #37. Adds a flag to skip pulling when an action uses is a docker image. This allows local docker images to be used that aren't pushed to a registry, but not built during act execution. I'm open to different approaches, or a discussion about if this is even a good idea to add. Alternative approaches? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:50:45 +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#1335
No description provided.