mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-11-22 02:16:09 -07:00
58 lines
916 B
HCL
58 lines
916 B
HCL
|
variable "GITHUB_REPOSITORY" {
|
||
|
default = "crazy-max/ghaction-upx"
|
||
|
}
|
||
|
|
||
|
group "default" {
|
||
|
targets = ["build"]
|
||
|
}
|
||
|
|
||
|
group "pre-checkin" {
|
||
|
targets = ["update-yarn", "format", "build"]
|
||
|
}
|
||
|
|
||
|
group "validate" {
|
||
|
targets = ["validate-format", "validate-build", "validate-yarn"]
|
||
|
}
|
||
|
|
||
|
target "dockerfile" {
|
||
|
dockerfile = "dev.Dockerfile"
|
||
|
}
|
||
|
|
||
|
target "update-yarn" {
|
||
|
inherits = ["dockerfile"]
|
||
|
target = "update-yarn"
|
||
|
output = ["."]
|
||
|
}
|
||
|
|
||
|
target "build" {
|
||
|
inherits = ["dockerfile"]
|
||
|
target = "dist"
|
||
|
output = ["."]
|
||
|
}
|
||
|
|
||
|
target "test" {
|
||
|
inherits = ["dockerfile"]
|
||
|
target = "test"
|
||
|
}
|
||
|
|
||
|
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"
|
||
|
}
|