From 24b880f982b2a7a28c8e544f17f9ac41ca409a68 Mon Sep 17 00:00:00 2001 From: zyy17 Date: Fri, 4 Nov 2022 13:05:35 +0800 Subject: [PATCH] ci: push image to dockerhub Signed-off-by: zyy17 --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abe6ce821d..fbcc065ec5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -155,6 +155,12 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Login to Dockerhub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Set up QEMU uses: docker/setup-qemu-action@v2 @@ -168,4 +174,6 @@ jobs: file: ./docker/ci/Dockerfile push: true platforms: linux/amd64,linux/arm64 - tags: ghcr.io/greptimeteam/greptimedb:${{ github.ref_name }} + tags: | + ghcr.io/greptimeteam/greptimedb:${{ github.ref_name }} + greptime/greptimedb:${{ github.ref_name }}