From ffb1b32f73a405a3e6b083823fa5410d3c2a30b2 Mon Sep 17 00:00:00 2001 From: ddCat <2695092045@qq.com> Date: Sun, 30 Aug 2026 22:29:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(release):=20=E5=AE=B9=E5=99=A8=E5=8F=91?= =?UTF-8?q?=E5=B8=83=20-=20=E4=BF=9D=E6=8C=81=E8=87=AA=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E5=85=AC=E5=BC=80=E5=8F=AF=E6=8B=89=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-images.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/publish-images.yml b/.github/workflows/publish-images.yml index 05a456ff5..450b48cdd 100644 --- a/.github/workflows/publish-images.yml +++ b/.github/workflows/publish-images.yml @@ -80,6 +80,16 @@ 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')