Skip to content

Commit

Permalink
test: fix building latest-windows-hp tag
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Dec 6, 2024
1 parent d271e7c commit d48fc87
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ container-windows:
ifdef WINDOWS_USE_HOST_PROCESS_CONTAINERS
ifeq ($(OSVERSION),ltsc2022)
$(MAKE) container-windows-hostprocess
$(MAKE) container-windows-hostprocess-latest
endif
endif

Expand Down Expand Up @@ -256,14 +257,18 @@ ifdef PUBLISH
done; \
done
docker manifest inspect $(CSI_IMAGE_TAG_LATEST)
docker manifest create --amend $(CSI_IMAGE_TAG_LATEST)-windows-hp $(CSI_IMAGE_TAG_LATEST)-windows-hp
docker manifest inspect $(CSI_IMAGE_TAG_LATEST)-windows-hp
endif

.PHONY: push-latest
push-latest:
ifdef CI
docker manifest push --purge $(CSI_IMAGE_TAG_LATEST)
docker manifest push --purge $(CSI_IMAGE_TAG_LATEST)-windows-hp
else
docker push $(CSI_IMAGE_TAG_LATEST)
docker push $(CSI_IMAGE_TAG_LATEST)-windows-hp
endif

.PHONY: clean
Expand Down

0 comments on commit d48fc87

Please sign in to comment.