mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1662] Is it possible to run jobs by specifying container? #824
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#824
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 @aeiouaoeiuv on GitHub (Mar 3, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1662
Act version
0.2.43
Feature description
I created a container by docker compose. And this container is always running. Also with some environments set and volumes set in compose.yaml.
How to use act with some arguments to run jobs in the container I created, instead of created by act itself?
@alex-savchuk commented on GitHub (Mar 7, 2023):
Maybe container option helps with that:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontainer
@aeiouaoeiuv commented on GitHub (Mar 8, 2023):
This solves part of my needs. But also do the work.
I just need to add all my
compose.yamloptions to the yml file. And then,actwill create a new container with my options and do the jobs.I thought
actcould use my existing container without creating a new one.Thanks @alex-savchuk , closing this.