Skip to content

Commit

Permalink
ci: fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney committed Oct 16, 2024
1 parent 651b394 commit 8ae9149
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/helm-weekly-release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:

pull_request:

permissions:
id-token: "write"
pull-requests: "write"

jobs:
weekly-release-pr:
runs-on: ubuntu-latest
Expand All @@ -23,6 +27,7 @@ jobs:

- name: "Login to DockerHub (from vault)"
uses: "grafana/shared-workflows/actions/dockerhub-login@main"

- uses: imjasonh/[email protected]
- run: |
echo "${DOCKER_PASSWORD}" | crane auth login https://registry.hub.docker.com --username "${DOCKER_USERNAME}" --password-stdin
Expand Down

0 comments on commit 8ae9149

Please sign in to comment.