From 975e2b07ef868750ffe228da8d6deb34a64c0a2c Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Fri, 13 Sep 2024 12:11:41 -0700 Subject: [PATCH] ci: add steps to build metabase docker distribution --- .github/workflows/build-on-release.yml | 10 ++++++++++ docker/Dockerfile | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 docker/Dockerfile diff --git a/.github/workflows/build-on-release.yml b/.github/workflows/build-on-release.yml index e4159d0..a2a9a8f 100644 --- a/.github/workflows/build-on-release.yml +++ b/.github/workflows/build-on-release.yml @@ -42,3 +42,13 @@ jobs: generate_release_notes: true prerelease: false token: ${{ secrets.PAT }} + - uses: docker/setup-qemu-action@v3 + - uses: docker/setup-buildx-action@v3 + - name: Build and push + uses: docker/build-push-action@v5 + with: + context: . + file: ./docker/Dockerfile + push: false + platforms: linux/amd64 + tags: greptime/metabase-greptimedb:${{ github.ref_name }}-mb050 diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..b87e8af --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,3 @@ +FROM docker.io/metabase/metabase:v0.50.25.2 + +ADD ./target/greptimedb.metabase-driver.jar plugins/