mirror of
https://gitee.com/actions-mirror/docker-setup-qemu-action
synced 2024-11-23 12:40:41 +08:00
53 lines
853 B
HCL
53 lines
853 B
HCL
|
variable "GITHUB_REPOSITORY" {
|
||
|
default = "docker/setup-qemu-action"
|
||
|
}
|
||
|
|
||
|
group "default" {
|
||
|
targets = ["build"]
|
||
|
}
|
||
|
|
||
|
group "pre-checkin" {
|
||
|
targets = ["update-yarn", "format", "build"]
|
||
|
}
|
||
|
|
||
|
group "validate" {
|
||
|
targets = ["validate-format", "validate-build", "validate-yarn"]
|
||
|
}
|
||
|
|
||
|
target "dockerfile" {
|
||
|
dockerfile = "Dockerfile.dev"
|
||
|
}
|
||
|
|
||
|
target "update-yarn" {
|
||
|
inherits = ["dockerfile"]
|
||
|
target = "update-yarn"
|
||
|
output = ["."]
|
||
|
}
|
||
|
|
||
|
target "build" {
|
||
|
inherits = ["dockerfile"]
|
||
|
target = "dist"
|
||
|
output = ["."]
|
||
|
}
|
||
|
|
||
|
target "format" {
|
||
|
inherits = ["dockerfile"]
|
||
|
target = "format"
|
||
|
output = ["."]
|
||
|
}
|
||
|
|
||
|
target "validate-format" {
|
||
|
inherits = ["dockerfile"]
|
||
|
target = "validate-format"
|
||
|
}
|
||
|
|
||
|
target "validate-build" {
|
||
|
inherits = ["dockerfile"]
|
||
|
target = "validate-build"
|
||
|
}
|
||
|
|
||
|
target "validate-yarn" {
|
||
|
inherits = ["dockerfile"]
|
||
|
target = "validate-yarn"
|
||
|
}
|