Skip to content

Commit

Permalink
release fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhiHanZ committed Nov 11, 2021
1 parent b4172b1 commit 7c0b0c7
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/databend-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,31 @@ jobs:
mkdir -p ./target/aarch64-unknown-linux-gnu/release
tar xC ./target/x86_64-unknown-linux-gnu/release -f ./databend-${{ steps.get_version.outputs.VERSION }}-x86_64-unknown-linux-gnu.tar.gz
tar xC ./target/aarch64-unknown-linux-gnu/release -f ./databend-${{ steps.get_version.outputs.VERSION }}-aarch64-unknown-linux-gnu.tar.gz
export TAG=${{ steps.get_version.outputs.VERSION }}
make k8s-docker
mkdir -p ./distro/linux/amd64
mkdir -p ./distro/linux/arm64
cp ./target/x86_64-unknown-linux-gnu/release/databend-meta ./distro/linux/amd64
cp ./target/x86_64-unknown-linux-gnu/release/databend-query ./distro/linux/amd64
cp ./target/aarch64-unknown-linux-gnu/release/databend-meta ./distro/linux/arm64
cp ./target/aarch64-unknown-linux-gnu/release/databend-query ./distro/linux/arm64
- name: push meta service
id: push_meta_service
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ secrets.DOCKERHUB_NAMESPACE }}/databend-meta:${{ steps.get_version.outputs.VERSION }}
platforms: linux/amd64,linux/arm64
context: .
file: ./docker/meta/Dockerfile
build-args: VERSION=${{ steps.get_version.outputs.VERSION }}

- name: push query service
id: push_query_service
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ secrets.DOCKERHUB_NAMESPACE }}/databend-query:${{ steps.get_version.outputs.VERSION }}
platforms: linux/amd64,linux/arm64
context: .
file: ./docker/query/Dockerfile
build-args: VERSION=${{ steps.get_version.outputs.VERSION }}

0 comments on commit 7c0b0c7

Please sign in to comment.