From c600c7098a3da33eb32dcc527d5229b161a5ba23 Mon Sep 17 00:00:00 2001 From: xuoutput <847438919@qq.com> Date: Wed, 25 Sep 2024 09:58:32 +0800 Subject: [PATCH] ci(docker): push action --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index eb4dfbca2..8aea010f5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - id: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.ACTIONTOKEN }} ref: ${{ inputs.branch }} # 可以指定分支 checkout, 但不允许直接修改 gh-pages @@ -78,7 +78,7 @@ jobs: password: ${{ secrets.TCR_TOKEN }} - name: Build && Push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile