Skip to content

Commit

Permalink
Fix windows images
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyje committed Jan 25, 2023
1 parent 9f1579f commit 21ee87f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ ALL_BINARIES = $(foreach app,$(ALL_APPS),$(foreach platform,$(ALL_PLATFORMS),bui

WINDOWS_VERSIONS = 1709 1803 1809 1903 1909 2004 20H2 ltsc2022
BUILDX_BUILDER = buildx-builder
ifeq ($(CI),true)
DOCKER_BUILDER_FLAG =
else
DOCKER_BUILDER_FLAG = --builder $(BUILDX_BUILDER)
endif
DOCKER_BUILDER_FLAG = --builder $(BUILDX_BUILDER)

binaries: $(MAIN_BINARIES)
all: $(ALL_BINARIES)
Expand Down Expand Up @@ -88,11 +84,7 @@ coverage.txt:
done

ensure-builder:
ifeq ($(CI),true)
echo "Skipping creation of buildx context, running in CI."
else
-$(DOCKER) buildx create --name $(BUILDX_BUILDER)
endif

ALL_IMAGES = $(CORETEMP_EXPORTER_IMAGE) $(CORETEMP_CONVERTER_IMAGE)
# https://github.com/docker-library/official-images#architectures-other-than-amd64
Expand Down

0 comments on commit 21ee87f

Please sign in to comment.