mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-20 20:06:16 +08:00
adds the tart:// protocol to platform mapping e.g. `-P macos-14=tart://ghcr.io/cirruslabs/macos-sonoma-base:latest` if you have a mac. `add-path` is probably broken
19 lines
267 B
Go
19 lines
267 B
Go
package tart
|
|
|
|
type Env struct {
|
|
JobID string
|
|
JobImage string
|
|
FailureExitCode int
|
|
Registry *Registry
|
|
}
|
|
|
|
type Registry struct {
|
|
Address string
|
|
User string
|
|
Password string
|
|
}
|
|
|
|
func (e Env) VirtualMachineID() string {
|
|
return e.JobID
|
|
}
|