ci: push image to dockerhub

Signed-off-by: zyy17 <zyylsxm@gmail.com>
This commit is contained in:
zyy17
2022-11-04 13:05:35 +08:00
parent db2b577628
commit 24b880f982

View File

@@ -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 }}