chore(deps): update github-actions

This commit is contained in:
renovate[bot]
2026-03-19 16:43:25 +00:00
committed by GitHub
parent faab20ac2f
commit e29a757724
4 changed files with 12 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ jobs:
steps: steps:
- name: 🔑 登录 GitHub Container Registry - name: 🔑 登录 GitHub Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
@@ -50,12 +50,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
username: ${{ vars.DOCKERHUB_USERNAME }} username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
@@ -103,7 +103,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 🗄️ 缓存Docker层 - name: 🗄️ 缓存Docker层
uses: actions/cache@v4 uses: actions/cache@v5
with: with:
path: /tmp/.buildx-cache path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-IMAGE_NAME-${{ github.sha }} key: ${{ runner.os }}-buildx-IMAGE_NAME-${{ github.sha }}

View File

@@ -31,7 +31,7 @@ jobs:
outputs: outputs:
lock_file_content: ${{ steps.generate_lock.outputs.lock_file_content }} lock_file_content: ${{ steps.generate_lock.outputs.lock_file_content }}
steps: steps:
- uses: pnpm/action-setup@v4 - uses: pnpm/action-setup@v5
with: with:
version: latest version: latest
standalone: true standalone: true

View File

@@ -64,7 +64,7 @@ runs:
- name: Extract metadata - name: Extract metadata
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v6
with: with:
context: git context: git
# flavor # flavor
@@ -74,14 +74,14 @@ runs:
# sep-labels: ',' # sep-labels: ','
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v4
- name: Build and push - name: Build and push
id: build id: build
uses: docker/build-push-action@v6 uses: docker/build-push-action@v7
with: with:
file: ${{ inputs.file }} file: ${{ inputs.file }}
context: ${{ inputs.context }} context: ${{ inputs.context }}

View File

@@ -187,7 +187,7 @@ runs:
printf " %-16s %s\n" "nodeVersion:" "${node_version}" printf " %-16s %s\n" "nodeVersion:" "${node_version}"
echo "::endgroup::" echo "::endgroup::"
- uses: pnpm/action-setup@v4 # https://github.com/pnpm/action-setup?tab=readme-ov-file#inputs - uses: pnpm/action-setup@v5 # https://github.com/pnpm/action-setup?tab=readme-ov-file#inputs
if: steps.prepare.outputs.pnpmInstalled == 'false' if: steps.prepare.outputs.pnpmInstalled == 'false'
with: with:
# https://github.com/pnpm/action-setup/blob/master/action.yml # https://github.com/pnpm/action-setup/blob/master/action.yml
@@ -208,7 +208,7 @@ runs:
echo "pnpmStoreDir=$(pnpm store path)" >> $GITHUB_OUTPUT echo "pnpmStoreDir=$(pnpm store path)" >> $GITHUB_OUTPUT
- id: cache-pnpm-restore - id: cache-pnpm-restore
uses: actions/cache/restore@v4 # https://github.com/actions/cache/blob/main/restore/action.yml uses: actions/cache/restore@v5 # https://github.com/actions/cache/blob/main/restore/action.yml
if: steps.prepare.outputs.pnpmLockExists == 'true' if: steps.prepare.outputs.pnpmLockExists == 'true'
with: with:
path: ${{ steps.pnpm-store-dir.outputs.pnpmStoreDir }} path: ${{ steps.pnpm-store-dir.outputs.pnpmStoreDir }}
@@ -252,7 +252,7 @@ runs:
- id: cache-pnpm-save - id: cache-pnpm-save
if: always() && steps.prepare.outputs.pnpmLockExists == 'true' && steps.cache-pnpm-restore.outputs.cache-hit != 'true' if: always() && steps.prepare.outputs.pnpmLockExists == 'true' && steps.cache-pnpm-restore.outputs.cache-hit != 'true'
uses: actions/cache/save@v4 uses: actions/cache/save@v5
with: with:
path: ${{ steps.pnpm-store-dir.outputs.pnpmStoreDir }} path: ${{ steps.pnpm-store-dir.outputs.pnpmStoreDir }}
key: ${{ steps.cache-pnpm-restore.outputs.cache-primary-key }} key: ${{ steps.cache-pnpm-restore.outputs.cache-primary-key }}