From da58ba46602f9b4af91002411507ee4315c8f0b7 Mon Sep 17 00:00:00 2001 From: weibin Date: Thu, 11 Jul 2024 10:42:31 +0800 Subject: [PATCH] :zap: update workflows --- .github/workflows/docker.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 875606e..6f69fb6 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -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 \ No newline at end of file + platforms: linux/amd64 + file: Dockerfile \ No newline at end of file