revert(release): 容器发布 - 移除无权限的可见性修改步骤
This commit is contained in:
10
.github/workflows/publish-images.yml
vendored
10
.github/workflows/publish-images.yml
vendored
@@ -80,16 +80,6 @@ jobs:
|
|||||||
cache-from: type=gha,scope=${{ matrix.image }}
|
cache-from: type=gha,scope=${{ matrix.image }}
|
||||||
cache-to: type=gha,mode=max,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:
|
release:
|
||||||
name: Publish release assets
|
name: Publish release assets
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
|||||||
Reference in New Issue
Block a user