From 956a4d5cad2a137ad8938421e589fe0a30682cf0 Mon Sep 17 00:00:00 2001 From: Piyush Maloo Date: Tue, 15 Aug 2023 14:56:29 +0530 Subject: [PATCH] fix the docker releaser and also build docker image for all architecture --- .github/workflows/releaser.yml | 4 +++- entrypoint.sh | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 8dd0fde95..efd1c754c 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -129,6 +129,8 @@ jobs: builder: ${{ steps.buildx.outputs.name }} context: . file: ./Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true tags: availj/avail:${{ steps.prepare.outputs.tag_name }} + build-args: | + AVAIL_TAG=${{ steps.prepare.outputs.tag_name }} diff --git a/entrypoint.sh b/entrypoint.sh index c3dec90ab..ae9765108 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -22,9 +22,8 @@ if [[ ! -z "${RELOAD_KEYSTORE}" ]]; then done; fi -echo "Launching validator ${DA_NAME} on chain ${DA_CHAIN}..." +echo "Launching node ${DA_NAME} on chain ${DA_CHAIN}..." ${da_bin} \ - --validator \ --base-path /da/state \ --keystore-path ${da_keystore} \ --offchain-worker=Always \