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