We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9214743 + fb2dcbf commit aafd314Copy full SHA for aafd314
Makefile
@@ -30,11 +30,15 @@ build:
30
31
.PHONY: image
32
image:
33
- $(CONTAINER_ENGINE) build -t $(REPO):$(TAG) .
+ifeq ($(CONTAINER_ENGINE), podman)
34
+ @DOCKER_BUILDKIT=1 $(CONTAINER_ENGINE) build --no-cache -t $(REPO):latest . --progress=plain
35
+else
36
+ @DOCKER_BUILDKIT=1 $(CONTAINER_ENGINE) --config=$(DOCKER_CONF) build --no-cache -t $(REPO):latest . --progress=plain
37
+endif
38
+ @$(CONTAINER_ENGINE) tag $(REPO):latest $(REPO):$(TAG)
39
40
.PHONY: image-push
41
image-push:
- $(CONTAINER_ENGINE) tag $(REPO):$(TAG) $(REPO):latest
42
$(CONTAINER_ENGINE) --config=$(DOCKER_CONF) push $(REPO):$(TAG)
43
$(CONTAINER_ENGINE) --config=$(DOCKER_CONF) push $(REPO):latest
44
0 commit comments