🐛 Fix the issue of release publishing docker

This commit is contained in:
Tw93
2025-08-22 17:38:30 +08:00
parent 1c62b2deed
commit 974bc2885c
2 changed files with 20 additions and 23 deletions

View File

@@ -24,25 +24,24 @@ jobs:
update-contributors:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- 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
auto_detect_branch_protection: false
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update Contributors in README_CN.md
uses: akhilmhdh/contributors-readme-action@v2.3.6
@@ -50,13 +49,9 @@ jobs:
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
auto_detect_branch_protection: false
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update Contributors in README_JP.md
uses: akhilmhdh/contributors-readme-action@v2.3.6
@@ -64,13 +59,9 @@ jobs:
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
auto_detect_branch_protection: false
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Build and release popular apps
release-apps:
@@ -144,6 +135,5 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
no-cache: true
platforms: linux/amd64