Skip to content

Commit 5d65fff

Browse files
committed
testing with mode=delete
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent 7457ded commit 5d65fff

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# syntax=docker/dockerfile:1
2-
31
ARG GO_VERSION=1.25
42
ARG ALPINE_VERSION=3.23
53
ARG XX_VERSION=1.7.0

docker-bake.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ target "test" {
147147
target "binaries" {
148148
inherits = ["_common"]
149149
target = "binaries"
150-
output = ["${DESTDIR}/build"]
150+
output = ["type=local,dest=${DESTDIR}/build,mode=delete"]
151151
platforms = ["local"]
152152
}
153153

0 commit comments

Comments
 (0)