mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #38] [MERGED] Add flag to skip pulling images already present #1335
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#1335
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/38
Author: @marccampbell
Created: 2/18/2019
Status: ✅ Merged
Merged: 2/19/2019
Merged by: @cplee
Base:
master← Head:optional-docker-pull📝 Commits (1)
7fadbdbAdd 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.