From 4e82186a6ea2a148703536e96b21485698a06c6e Mon Sep 17 00:00:00 2001 From: cw-sakamoto Date: Tue, 2 Apr 2024 11:07:57 +0900 Subject: [PATCH] fix ci --- .github/workflows/docker.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9e22a34..df1b527 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -11,16 +11,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Cache Docker layers - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ github.sha }} @@ -34,13 +34,13 @@ jobs: echo ::set-output name=CURRENT_TAG::${CURRENT_TAG} - name: Log in to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push Docker image to Docker Hub - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . platforms: linux/arm64,linux/amd64