Skip to content

Commit 3c0d262

Browse files
committed
Upgrade GitHub CI Action Version
1 parent 877434d commit 3c0d262

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/docker-ghcr.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v4
3232

3333
- name: Set up Docker Buildx
34-
uses: docker/setup-buildx-action@v1
34+
uses: docker/setup-buildx-action@v3
3535

3636
# Login against a Docker registry except on PR
3737
# https://github.com/docker/login-action
3838
- name: Log into registry ${{ env.REGISTRY }}
3939
if: github.event_name != 'pull_request'
40-
uses: docker/login-action@v1
40+
uses: docker/login-action@v3
4141
with:
4242
registry: ${{ env.REGISTRY }}
4343
username: ${{ github.actor }}
@@ -47,14 +47,14 @@ jobs:
4747
# https://github.com/docker/metadata-action
4848
- name: Extract Docker metadata
4949
id: meta
50-
uses: docker/metadata-action@v3
50+
uses: docker/metadata-action@v5
5151
with:
5252
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5353

5454
# Build and push Docker image with Buildx (don't push on PR)
5555
# https://github.com/docker/build-push-action
5656
- name: Build and push Docker image
57-
uses: docker/build-push-action@v2
57+
uses: docker/build-push-action@v5
5858
with:
5959
context: .
6060
platforms: linux/amd64,linux/arm64

.github/workflows/pushUrl.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
runs-on: ubuntu-latest # 运行环境为最新版的Ubuntu
2525
steps:
2626
- name: 'Checkout codes' # 步骤一,获取仓库代码
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2828
# - name: 'Run baiduPush' # 步骤二,执行sh命令文件
2929
# run: npm install && npm run baiduPush # 运行目录是仓库根目录
3030
- name: Set up Python 3.8
31-
uses: actions/setup-python@v1
31+
uses: actions/setup-python@v5
3232
with:
3333
python-version: 3.8
3434

.github/workflows/sync.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
# Step 1: run a standard checkout action
1919
- name: Checkout target repo
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
# Step 2: run the sync action
2323
- name: Sync upstream changes

0 commit comments

Comments
 (0)