🐛 Fix the problem of generating docker under release
This commit is contained in:
36
.github/workflows/release.yml
vendored
36
.github/workflows/release.yml
vendored
@@ -30,11 +30,45 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.TOKEN }}
|
token: ${{ secrets.TOKEN }}
|
||||||
|
|
||||||
- name: Update Contributors
|
- name: Update Contributors in README.md
|
||||||
uses: akhilmhdh/contributors-readme-action@v2.3.6
|
uses: akhilmhdh/contributors-readme-action@v2.3.6
|
||||||
with:
|
with:
|
||||||
image_size: 90
|
image_size: 90
|
||||||
columns_per_row: 7
|
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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# syntax=docker/dockerfile:1.4
|
# syntax=docker/dockerfile:1.4
|
||||||
# Cargo build stage
|
# Cargo build stage
|
||||||
FROM rust:1.80-slim AS cargo-builder
|
FROM rust:1.82-slim AS cargo-builder
|
||||||
# Install Rust dependencies
|
# Install Rust dependencies
|
||||||
RUN --mount=type=cache,target=/var/cache/apt \
|
RUN --mount=type=cache,target=/var/cache/apt \
|
||||||
--mount=type=cache,target=/usr/local/cargo/registry \
|
--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
|
RUN ls -la /cargo-cache/registry && ls -la /cargo-cache/git && rm -rfd /cargo-cache/registry/src
|
||||||
|
|
||||||
# Main build stage
|
# Main build stage
|
||||||
FROM rust:1.80-slim AS builder
|
FROM rust:1.82-slim AS builder
|
||||||
# Install Rust dependencies
|
# Install Rust dependencies
|
||||||
RUN --mount=type=cache,target=/var/cache/apt \
|
RUN --mount=type=cache,target=/var/cache/apt \
|
||||||
--mount=type=cache,target=/usr/local/cargo/registry \
|
--mount=type=cache,target=/usr/local/cargo/registry \
|
||||||
|
|||||||
Reference in New Issue
Block a user