Skip to content

Commit 1308609

Browse files
authored
build: fix makefile (#37)
Add image registry to `make test` so the image path matches the full image tag that was built.
1 parent 23c5eb0 commit 1308609

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ test:
5050
--target builder \
5151
--tag $(if $(IMAGE_REGISTRY),$(IMAGE_REGISTRY)/)$(IMAGE_NAME)-builder:$(IMAGE_TAG) \
5252
.
53-
$(CONTAINER_RUNTIME) run --rm $(IMAGE_NAME)-builder:$(IMAGE_TAG) go test -v ./...
53+
$(CONTAINER_RUNTIME) run --rm $(if $(IMAGE_REGISTRY),$(IMAGE_REGISTRY)/)$(IMAGE_NAME)-builder:$(IMAGE_TAG) go test -v ./...
5454

5555
.PHONY: build
5656
build:

0 commit comments

Comments
 (0)