revert(release): 容器发布 - 移除无权限的可见性修改步骤

This commit is contained in:
ddCat
2026-08-30 22:51:04 +08:00
parent ffb1b32f73
commit d75c4ae348

View File

@@ -80,16 +80,6 @@ jobs:
cache-from: type=gha,scope=${{ matrix.image }}
cache-to: type=gha,mode=max,scope=${{ matrix.image }}
- name: Keep deployment image public
env:
GH_TOKEN: ${{ github.token }}
shell: bash
run: |
gh api \
--method PATCH \
"/orgs/${{ github.repository_owner }}/packages/container/${{ matrix.image }}" \
-f visibility=public
release:
name: Publish release assets
if: startsWith(github.ref, 'refs/tags/v')