Skip to content

Commit

Permalink
⚡ update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaobinqt committed Jul 11, 2024
1 parent 175c0c2 commit da58ba4
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,23 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push
- name: Build
id: build
uses: docker/build-push-action@v4
with:
push: true
context: .
tags: xiaobinqt/dounai-checkin:v2
#context: .
file: Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
file: Dockerfile

0 comments on commit da58ba4

Please sign in to comment.