Skip to content

Commit a311f01

Browse files
committed
chore: fix validate-tests
Signed-off-by: Dorin Geman <dorin.geman@docker.com>
1 parent 53ffcda commit a311f01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ RUN apk add --no-cache make gcc musl-dev
5151
WORKDIR /src
5252
RUN --mount=target=. \
5353
--mount=target=/root/.cache,type=cache \
54-
CGO_ENABLED=1 make unit-tests
54+
CGO_ENABLED=1 make -C cmd/cli unit-tests

cmd/cli/docker-bake.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ target "update-docs" {
4747

4848
target "validate-tests" {
4949
inherits = ["_common"]
50-
context = "cmd/cli"
50+
dockerfile = "cmd/cli/Dockerfile"
5151
target = "test"
5252
output = ["type=cacheonly"]
5353
}

0 commit comments

Comments
 (0)