File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ TAG := $(VERSION)_$(OS)_$(ARCH)
70
70
TAG_PROD := $(TAG )
71
71
TAG_DBG := $(VERSION ) -dbg_$(OS ) _$(ARCH )
72
72
73
- GO_VERSION ?= 1.12.6
73
+ GO_VERSION ?= 1.12.7
74
74
BUILD_IMAGE ?= appscode/golang-dev:$(GO_VERSION ) -stretch
75
75
76
76
OUTBIN = bin/$(OS ) _$(ARCH ) /$(BIN )
@@ -216,7 +216,7 @@ bin/.container-$(DOTFILE_IMAGE)-%: bin/$(OS)_$(ARCH)/$(BIN) $(DOCKERFILE_%)
216
216
-e ' s|{RESTIC_VER}|$(RESTIC_VER)|g' \
217
217
-e ' s|{NEW_RESTIC_VER}|$(NEW_RESTIC_VER)|g' \
218
218
$(DOCKERFILE_$* ) > bin/.dockerfile-$* -$(OS ) _$(ARCH )
219
- @ docker build --pull -t $(IMAGE ) :$(TAG_$* ) -f bin/.dockerfile-$* -$(OS ) _$(ARCH ) .
219
+ DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --platform $( OS ) / $( ARCH ) --load --pull -t $(IMAGE ) :$(TAG_$* ) -f bin/.dockerfile-$* -$(OS ) _$(ARCH ) .
220
220
@docker images -q $(IMAGE ) :$(TAG_$* ) > $@
221
221
@echo
222
222
You can’t perform that action at this time.
0 commit comments