Skip to content

Commit

Permalink
temp: comment image recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekg committed Nov 26, 2024
1 parent c35dcbf commit 9425ebd
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ build-installer:
build-version:
cp VERSION dist/version

.PHONY: build-image
build-image:
docker buildx build --platform "linux/amd64,linux/arm64" --output type=oci,dest=dist/relay-$(PACKAGE_VERSION).tar .
# .PHONY: build-image
# build-image:
# docker buildx build --platform "linux/amd64,linux/arm64" --output type=oci,dest=dist/relay-$(PACKAGE_VERSION).tar .

.PHONY: build-all
build-all: clean build-linux-386 build-linux-amd64 build-linux-arm build-linux-arm64 build-linux-s390x \
build-windows-386 build-windows-amd64 build-windows-arm64 build-installer build-version build-image
build-windows-386 build-windows-amd64 build-windows-arm64 build-installer build-version

.PHONY: release-new
release-new:
Expand Down Expand Up @@ -179,30 +179,30 @@ ifeq ($(PACKAGE_CHANNEL),stable)
keygen tag latest --release $(PACKAGE_VERSION)
endif

.PHONY: release-image-new
release-image-new:
keygen new --name "Keygen Relay v$(PACKAGE_VERSION)" --channel $(PACKAGE_CHANNEL) --version $(PACKAGE_VERSION) --package relay
# .PHONY: release-image-new
# release-image-new:
# keygen new --name "Keygen Relay v$(PACKAGE_VERSION)" --channel $(PACKAGE_CHANNEL) --version $(PACKAGE_VERSION) --package relay

.PHONY: release-image-tarball
release-image-tarball:
keygen upload dist/relay-$(PACKAGE_VERSION).tar --release $(PACKAGE_VERSION) --package relay
# .PHONY: release-image-tarball
# release-image-tarball:
# keygen upload dist/relay-$(PACKAGE_VERSION).tar --release $(PACKAGE_VERSION) --package relay

.PHONY: release-image-tag
release-image-tag:
ifeq ($(PACKAGE_CHANNEL),stable)
keygen untag latest v$(PACKAGE_MAJOR) v$(PACKAGE_MAJOR).$(PACKAGE_MINOR) --release latest --package relay
keygen tag latest v$(PACKAGE_MAJOR) v$(PACKAGE_MAJOR).$(PACKAGE_MINOR) --release $(PACKAGE_VERSION) --package relay
endif
# .PHONY: release-image-tag
# release-image-tag:
# ifeq ($(PACKAGE_CHANNEL),stable)
# keygen untag latest v$(PACKAGE_MAJOR) v$(PACKAGE_MAJOR).$(PACKAGE_MINOR) --release latest --package relay
# keygen tag latest v$(PACKAGE_MAJOR) v$(PACKAGE_MAJOR).$(PACKAGE_MINOR) --release $(PACKAGE_VERSION) --package relay
# endif

.PHONY: release-image
release-image:
release-image-new release-image-tarball release-image-tag
# .PHONY: release-image
# release-image:
# release-image-new release-image-tarball release-image-tag

# FIXME(ezekg) refactor into release-cli
.PHONY: release
release: release-new release-linux-386 release-linux-amd64 release-linux-arm release-linux-arm64 \
release-linux-s390x release-windows-386 release-windows-amd64 release-windows-arm64 \
release-installer release-version release-publish release-tag release-image
release-installer release-version release-publish release-tag

.PHONY: test
test:
Expand Down

0 comments on commit 9425ebd

Please sign in to comment.