Skip to content

Commit

Permalink
ci: add dockerhub login and push
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Sep 13, 2024
1 parent 73aa82b commit f98f1b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,15 @@ jobs:
token: ${{ secrets.PAT }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ${{ github.workspace }}/driver
file: ${{ github.workspace }}/driver/docker/Dockerfile
push: false
push: true
platforms: linux/amd64
tags: greptime/metabase-greptimedb:${{ github.ref_name }}-mb050

0 comments on commit f98f1b1

Please sign in to comment.