mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #2092] Container option --pull always is not supported #1001
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#1001
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?
Originally created by @fpfaff on GitHub (Nov 13, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/2092
Bug report info
Command used with act
Describe issue
GitHub actions support the container option:
options: --pull always.We use this to ensure our builds always use the latest build container.
However, running a workflow with this container option using
actfails with:Error: Cannot parse container options: '--pull always': 'unknown flag: --pull'This is probably related to how the containers are created/started
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
@ChristopherHX commented on GitHub (Nov 13, 2023):
Isn't this the default behavior of both actions/runner and act?
While actions/runner has no opt out.
actions/runner performs these steps
actions/runner directly pass options to docker cli, act doesn't use the cli interface
Is this documented? I believe undocumented stuff only works, but does not mean supported.
@fpfaff commented on GitHub (Nov 14, 2023):
We added it because we had the issue that
actions/runnerdid not pull the latest image.I will investigate if this is still the case.
@fpfaff commented on GitHub (Nov 14, 2023):
The Github Actions documentation states:
Given that it explicitly states the options that are not supported, I assume all others are supported.
@github-actions[bot] commented on GitHub (May 13, 2024):
Issue is stale and will be closed in 14 days unless there is new activity
@pavel-kalmykov commented on GitHub (Aug 10, 2024):
I have encountered the same issue when setting a container name with
options: --name abc. I think https://github.com/nektos/act/issues/2412 is related to this as well.@dkowis commented on GitHub (Oct 19, 2024):
I also just run into this when I wanted to do a
--pull always