Skip to content

Commit

Permalink
Set Permissions for GitHub Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeyaraj-crusoe committed Oct 5, 2024
1 parent 5b5b1ce commit 6dad54e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches:
- main

permissions:
contents: write
attestations: write
packages: write

env:
CRUSOE_CSI_DRIVER_NAME: csi.crusoe.ai

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6dad54e

Please sign in to comment.