Skip to content

Commit

Permalink
Fix incorrect arm64 release binary name
Browse files Browse the repository at this point in the history
  • Loading branch information
innobead committed Jan 28, 2021
1 parent 06901c7 commit d799c7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM rust:1.48 as build
FROM rust:1.49 as build
WORKDIR /workspace
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG BUILD_TARGET=debug
ARG MAKE_TARGET=build
COPY . /workspace
RUN suffix=$(echo ${BUILDPLATFORM} | sed "s/\//-/g") && \
RUN suffix=$(echo ${TARGETPLATFORM} | sed "s/\//-/g") && \
apt update && \
apt install -y sudo && \
make setup-dev && \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ build-multiarch: ## Build binaries for linux multiple architectures

.PHONY: release-multiarch
release-multiarch: ## Release binaries for linux multiple archite
PLATFORMS=linux/arm64 BUILD_TARGET=release MAKE_TARGET=release $(CURDIR)/hack/build-multiarch.sh
PLATFORMS=linux/arm64 BUILD_TARGET=release OUTPUT_DIR=$(OUTPUT_DIR) MAKE_TARGET=release $(CURDIR)/hack/build-multiarch.sh
mkdir -p $(BUILD_DIR) && cp $(OUTPUT_DIR)/target/huber-* $(BUILD_DIR)/
$(MAKE) checksum

0 comments on commit d799c7c

Please sign in to comment.