diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index 4f63183..96765a6 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -5,6 +5,11 @@ on: branches: - main +permissions: + contents: write + attestations: write + packages: write + env: CRUSOE_CSI_DRIVER_NAME: csi.crusoe.ai @@ -57,6 +62,12 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Import GPG key uses: crazy-max/ghaction-import-gpg@72b6676b71ab476b77e676928516f6982eef7a41 # v5.3.0 id: import_gpg