Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Leibnizhu committed Oct 25, 2024
1 parent 10782fa commit 6471e76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,23 @@ jobs:

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
if: github.ref_name == 'main'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
if: github.ref_name == 'main'

- name: Log in to Docker Hub
uses: docker/login-action@v2
if: github.ref_name == 'main'
with:
username: leibniz007
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
if: github.ref_name == 'main'
with:
images: leibniz007/tinylsm
tags: |
Expand All @@ -71,6 +75,7 @@ jobs:
- name: Push to DockerHub
uses: docker/build-push-action@v3
if: github.ref_name == 'main'
with:
context: .
file: Dockerfile
Expand Down

0 comments on commit 6471e76

Please sign in to comment.