summaryrefslogtreecommitdiff
path: root/docker-bake.hcl
blob: cfa0a10f0e198aab7d15b7d7a73106e3b53feeae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
variable "PKGVER" {
    default = "0.1.0"
}

group "default" {
    targets = ["deb"]
}

target "bin" {
    dockerfile = "Dockerfile"
    target = "bin"
    output = ["artifacts"]
}

target "deb" {
    dockerfile = "Dockerfile"
    target = "deb"
    output = ["artifacts"]
    args = {
        VERSION="${PKGVER}"
    }
}