diff --git a/.github/workflows/docker-build-and-push.yml b/.github/workflows/docker-build-and-push.yml index 4746efea54..6fc54ed7f9 100644 --- a/.github/workflows/docker-build-and-push.yml +++ b/.github/workflows/docker-build-and-push.yml @@ -87,4 +87,34 @@ jobs: DOCKER_BUILD_KIT: "0" TAG_LATEST: "false" + docker_build_arm: + runs-on: buildjet-4vcpu-ubuntu-2204-arm + timeout-minutes: 30 + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Set Version from the PR title. + if: github.event_name == 'pull_request' + run: | + echo "GITHUB_TAG_MAJOR_VERSION=${{ github.event.pull_request.title }}" >> ${GITHUB_ENV} + + - name: Set Version for Hotfix Release from Input. + if: github.event_name != 'pull_request' + run: | + echo "GITHUB_TAG_MAJOR_VERSION=${{ github.event.inputs.version }}" >> ${GITHUB_ENV} + - name: "BUILD:PUSH:MONITORING:DOCKER:IMAGE" + uses: ./.github/actions/build-docker-images-generic + with: + DOCKER_FILENAME: "Dockerfile" + REPOSITORY_NAME: "${{ env.DOCKER_REPO }}" + IMAGE_TAG: "arm-${{ env.GITHUB_TAG_MAJOR_VERSION }}" + REGISTRY: "${{ env.DOCKER_REGISTRY }}" + DOCKER_ORG: "${{ env.DOCKER_ORG }}" + USERNAME: "${{ secrets.DOCKER_HUB_USERNAME }}" + TOKEN: "${{ secrets.DOCKERHUB_TOKEN }}" + DOCKER_FILE_DIRECTORY: "./" + DOCKER_BUILD_KIT: "0" + TAG_LATEST: "false" \ No newline at end of file diff --git a/changelog.md b/changelog.md index 74f4c21b4c..cec91d7fae 100644 --- a/changelog.md +++ b/changelog.md @@ -3,8 +3,6 @@ ## Unreleased * `zetaclientd start` : 2 inputs required from stdin -* CI: adding pipeline to build and push docker images into dockerhub on release for ubuntu and macos. -* Added docker-compose and make commands for launching full nodes. `make mainnet-zetarpc-node` `make mainnet-bitcoind-node` ### Refactor @@ -28,6 +26,8 @@ ### CI +* CI: adding pipeline to build and push docker images into dockerhub on release for ubuntu and macos. +* Added docker-compose and make commands for launching full nodes. `make mainnet-zetarpc-node` `make mainnet-bitcoind-node` * [1736](https://github.com/zeta-chain/node/pull/1736) - chore: add Ethermint endpoints to OpenAPI ### Chores