Skip to content

Commit dfc6bd8

Browse files
committed
chore: bump actions deps
1 parent 35e9582 commit dfc6bd8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,33 +43,33 @@ jobs:
4343

4444
steps:
4545
- name: Checkout repository
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v6
4747

4848
- name: Replace version
4949
run: |
5050
sed -i "s/'s2oj-version' => 'dev'/'s2oj-version' => '$(echo "${{ github.sha }}" | cut -c1-7)'/g" web/app/.default-config.php
5151
5252
- name: Log in to GitHub Container Registry
53-
uses: docker/login-action@v2.1.0
53+
uses: docker/login-action@v4
5454
with:
5555
registry: ghcr.io
5656
username: ${{ github.actor }}
5757
password: ${{ secrets.GITHUB_TOKEN }}
5858

5959
- name: Log in to Tencent Container Registry
60-
uses: docker/login-action@v2.1.0
60+
uses: docker/login-action@v4
6161
with:
6262
registry: hkccr.ccs.tencentyun.com
6363
username: ${{ secrets.TENCENT_REGISTRY_USERNAME }}
6464
password: ${{ secrets.TENCENT_REGISTRY_PASSWORD }}
6565

6666
- name: Extract metadata for Docker
6767
id: meta
68-
uses: docker/metadata-action@v4.3.0
68+
uses: docker/metadata-action@v6
6969
with:
7070
images: |
7171
ghcr.io/${{ env.IMAGE_BASENAME }}-${{ matrix.image_name }}
72-
hkccr.ccs.tencentyun.com/baoshuo/${{ env.IMAGE_BASENAME }}-${{ matrix.image_name }}
72+
hkccr.ccs.tencentyun.com/${{ env.IMAGE_BASENAME }}-${{ matrix.image_name }}
7373
tags: |
7474
latest
7575
type=ref,event=branch
@@ -79,7 +79,7 @@ jobs:
7979
type=sha,prefix=
8080
8181
- name: Build and push Docker image
82-
uses: docker/build-push-action@v3.3.0
82+
uses: docker/build-push-action@v7
8383
with:
8484
context: ${{ matrix.context }}
8585
file: ${{ matrix.dockerfile }}

0 commit comments

Comments
 (0)