From 1c62b2deed7d030fd735f249e27aba81f532972f Mon Sep 17 00:00:00 2001 From: Tw93 Date: Fri, 22 Aug 2025 16:55:31 +0800 Subject: [PATCH] :bug: Fix the problem of generating docker under release --- .github/workflows/release.yml | 36 ++++++++++++++++++++++++++++++++++- Dockerfile | 4 ++-- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 616c020..089fbf5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,11 +30,45 @@ jobs: with: token: ${{ secrets.TOKEN }} - - name: Update Contributors + - name: Update Contributors in README.md uses: akhilmhdh/contributors-readme-action@v2.3.6 with: image_size: 90 columns_per_row: 7 + readme_path: README.md + use_username: false + collaborators: direct + commit_message: docs(contributor): contrib-readme-action has updated README.md + auto_detect_branch_protection: true + pr_title_on_protected: docs(contributor): contributors readme action update + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + + - name: Update Contributors in README_CN.md + uses: akhilmhdh/contributors-readme-action@v2.3.6 + with: + image_size: 90 + columns_per_row: 7 + readme_path: README_CN.md + use_username: false + collaborators: direct + commit_message: docs(contributor): contrib-readme-action has updated README_CN.md + auto_detect_branch_protection: true + pr_title_on_protected: docs(contributor): contributors readme action update + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + + - name: Update Contributors in README_JP.md + uses: akhilmhdh/contributors-readme-action@v2.3.6 + with: + image_size: 90 + columns_per_row: 7 + readme_path: README_JP.md + use_username: false + collaborators: direct + commit_message: docs(contributor): contrib-readme-action has updated README_JP.md + auto_detect_branch_protection: true + pr_title_on_protected: docs(contributor): contributors readme action update env: GITHUB_TOKEN: ${{ secrets.TOKEN }} diff --git a/Dockerfile b/Dockerfile index 251adc6..24a0171 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1.4 # Cargo build stage -FROM rust:1.80-slim AS cargo-builder +FROM rust:1.82-slim AS cargo-builder # Install Rust dependencies RUN --mount=type=cache,target=/var/cache/apt \ --mount=type=cache,target=/usr/local/cargo/registry \ @@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \ RUN ls -la /cargo-cache/registry && ls -la /cargo-cache/git && rm -rfd /cargo-cache/registry/src # Main build stage -FROM rust:1.80-slim AS builder +FROM rust:1.82-slim AS builder # Install Rust dependencies RUN --mount=type=cache,target=/var/cache/apt \ --mount=type=cache,target=/usr/local/cargo/registry \