From eace68b109c42f2f909e237cc5bf8de51d5405d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Tue, 23 Jan 2024 14:14:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20ghcr.io=20=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E4=B8=8A=E4=BC=A0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de4c7a7..a4bda16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,9 @@ name: Checkout and Create Release Version jobs: build: runs-on: ubuntu-latest + permissions: + contents: read + packages: write steps: - name: Checkout code uses: actions/checkout@v3 @@ -59,4 +62,6 @@ jobs: push: true tags: | jumpserver/web-static:${{ steps.get-version.outputs.version }}-bookworm - ghcr.io/jumpserver/web-static:${{ steps.get-version.outputs.version }}-bookworm \ No newline at end of file + ghcr.io/jumpserver/web-static:${{ steps.get-version.outputs.version }}-bookworm + cache-from: type=gha + cache-to: type=gha,mode=max \ No newline at end of file