Skip to content

Commit

Permalink
Makefile: fix compressing artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Jan 10, 2025
1 parent b505390 commit 58cb1be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ clean:
rm -rf _output _artifacts

define make_artifact
$(DOCKER_BUILD) --platform $(1)/$(2) --output type=tar,dest=_artifacts/gomodjail-$(VERSION).$(1)-$(2).tar.gz .
$(DOCKER_BUILD) --platform $(1)/$(2) --output type=tar,dest=_artifacts/gomodjail-$(VERSION).$(1)-$(2).tar .
gzip -9n _artifacts/gomodjail-$(VERSION).$(1)-$(2).tar
endef

.PHONY: artifacts
Expand Down

0 comments on commit 58cb1be

Please sign in to comment.