mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-23 03:16:09 +08:00
251b9d49f3
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
56 lines
988 B
HCL
56 lines
988 B
HCL
group "default" {
|
|
targets = ["build"]
|
|
}
|
|
|
|
group "pre-checkin" {
|
|
targets = ["vendor", "format", "build"]
|
|
}
|
|
|
|
group "validate" {
|
|
targets = ["lint", "vendor-validate"]
|
|
}
|
|
|
|
target "build" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "build-update"
|
|
output = ["."]
|
|
}
|
|
|
|
target "format" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "format-update"
|
|
output = ["."]
|
|
}
|
|
|
|
target "lint" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "lint"
|
|
output = ["type=cacheonly"]
|
|
}
|
|
|
|
target "vendor" {
|
|
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"
|
|
output = ["type=cacheonly"]
|
|
secret = ["id=GITHUB_TOKEN,env=GITHUB_TOKEN"]
|
|
}
|
|
|
|
target "test-coverage" {
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "test-coverage"
|
|
output = ["./coverage"]
|
|
secret = ["id=GITHUB_TOKEN,env=GITHUB_TOKEN"]
|
|
}
|