Skip to content

Commit 1eeccee

Browse files
authored
ci: update github action permissions for release to allow write (#217)
1 parent 3563185 commit 1eeccee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
permissions:
99
id-token: write
10-
contents: read
10+
contents: write
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
@@ -68,4 +68,4 @@ jobs:
6868
run: |
6969
docker tag docker.cloudsmith.io/${{ vars.CLOUDSMITH_NAMESPACE }}/cli-zipapp/cloudsmith-cli:${{ env.VERSION }} cloudsmith/cloudsmith-cli:${{ env.VERSION }}
7070
echo "${{ secrets.DOCKERHUB_PAT }}" | docker login -u ${{ vars.DOCKERHUB_USER }} --password-stdin
71-
docker push cloudsmith/cloudsmith-cli:${{ env.VERSION }}
71+
docker push cloudsmith/cloudsmith-cli:${{ env.VERSION }}

0 commit comments

Comments
 (0)