This commit is contained in:
Fuyao Zhao
2025-08-31 09:54:59 +08:00
parent d06e7ad7b0
commit 5bdde70351
2 changed files with 6 additions and 4 deletions

View File

@ -6,6 +6,8 @@ on:
push: push:
tags: tags:
- v* - v*
branches:
- "*"
env: env:
IMAGE_NAME: ${{ github.repository_owner }}/nanoreth IMAGE_NAME: ${{ github.repository_owner }}/nanoreth

View File

@ -245,13 +245,13 @@ docker-build-push-nightly: ## Build and push cross-arch Docker image tagged with
# Create a cross-arch Docker image with the given tags and push it # Create a cross-arch Docker image with the given tags and push it
define docker_build_push define docker_build_push
$(MAKE) build-x86_64-unknown-linux-gnu $(MAKE) build
mkdir -p $(BIN_DIR)/amd64 mkdir -p $(BIN_DIR)/amd64
cp $(CARGO_TARGET_DIR)/x86_64-unknown-linux-gnu/$(PROFILE)/reth $(BIN_DIR)/amd64/reth cp $(CARGO_TARGET_DIR)/x86_64-unknown-linux-gnu/$(PROFILE)/reth-hl $(BIN_DIR)/amd64/reth-hl
$(MAKE) build-aarch64-unknown-linux-gnu $(MAKE) build
mkdir -p $(BIN_DIR)/arm64 mkdir -p $(BIN_DIR)/arm64
cp $(CARGO_TARGET_DIR)/aarch64-unknown-linux-gnu/$(PROFILE)/reth $(BIN_DIR)/arm64/reth cp $(CARGO_TARGET_DIR)/aarch64-unknown-linux-gnu/$(PROFILE)/reth-hl $(BIN_DIR)/arm64/reth-hl
docker buildx build --file ./Dockerfile.cross . \ docker buildx build --file ./Dockerfile.cross . \
--platform linux/amd64,linux/arm64 \ --platform linux/amd64,linux/arm64 \