Skip to content

Commit

Permalink
chore: update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhallcs committed Mar 1, 2023
1 parent 317ad97 commit 606a58d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docker:
permissions:
contents: read
id-token: write

runs-on: ubuntu-latest
steps:

Expand Down Expand Up @@ -97,11 +101,11 @@ jobs:
- name: auth to gcr
run: gcloud auth configure-docker us-docker.pkg.dev -q

- name: docker meta data
id: docker_meta_data
- name: docker meta
id: docker_meta
uses: docker/metadata-action@v4
with:
images: sodahealth/benthos
images: us-docker.pkg.dev/artifacts-321215/co2-artifacts-docker/sodahealth/benthos
tags: |
type=raw,value=${{ github.ref_name }}
Expand Down

0 comments on commit 606a58d

Please sign in to comment.