From 58d5ca148af55956918e77267d6557cf0bb42413 Mon Sep 17 00:00:00 2001 From: jinzhongjia Date: Tue, 31 Oct 2023 11:17:11 +0800 Subject: [PATCH] Update release-docker-img.yml --- .github/workflows/release-docker-img.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-docker-img.yml b/.github/workflows/release-docker-img.yml index 5002c7d..652734e 100644 --- a/.github/workflows/release-docker-img.yml +++ b/.github/workflows/release-docker-img.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get current date id: date @@ -35,17 +35,17 @@ jobs: version: 8 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Available platforms run: echo ${{ steps.buildx.outputs.platforms }} - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -64,7 +64,7 @@ jobs: cp -r src/admin/dist/ dist/admin - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile