mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-06-12 17:47:14 +02:00
add forgeinstance
This commit is contained in:
@ -86,11 +86,11 @@ type Task struct {
|
||||
}
|
||||
|
||||
// NewTask creates a new task
|
||||
func NewTask(buildID int64, client client.Client) *Task {
|
||||
func NewTask(forgeInstance string, buildID int64, client client.Client) *Task {
|
||||
task := &Task{
|
||||
Input: &TaskInput{
|
||||
reuseContainers: true,
|
||||
ForgeInstance: "gitea",
|
||||
ForgeInstance: forgeInstance,
|
||||
},
|
||||
BuildID: buildID,
|
||||
|
||||
|
Reference in New Issue
Block a user