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/