mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-11-05 21:25:50 -05:00
a5af0f629b
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
53 lines
935 B
HCL
53 lines
935 B
HCL
group "default" {
|
|
targets = ["build"]
|
|
}
|
|
|
|
group "pre-checkin" {
|
|
targets = ["vendor-update", "format", "build"]
|
|
}
|
|
|
|
group "validate" {
|
|
targets = ["lint", "build-validate", "vendor-validate"]
|
|
}
|
|
|
|
target "build" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "build-update"
|
|
output = ["."]
|
|
}
|
|
|
|
target "build-validate" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "build-validate"
|
|
output = ["type=cacheonly"]
|
|
}
|
|
|
|
target "format" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "format-update"
|
|
output = ["."]
|
|
}
|
|
|
|
target "lint" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "lint"
|
|
output = ["type=cacheonly"]
|
|
}
|
|
|
|
target "vendor-update" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "vendor-update"
|
|
output = ["."]
|
|
}
|
|
|
|
target "vendor-validate" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "vendor-validate"
|
|
output = ["type=cacheonly"]
|
|
}
|
|
|
|
target "test" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "test-coverage"
|
|
output = ["./coverage"]
|
|
}
|