Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Configure Actions permissions for build runs (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretthoerner authored Feb 7, 2024
1 parent 017ae03 commit 49fa92b
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-capture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
build:
name: build and publish capture image
runs-on: buildjet-4vcpu-ubuntu-2204-arm
permissions:
id-token: write # allow issuing OIDC tokens for this workflow run
contents: read # allow reading the repo contents
packages: write # allow push to ghcr.io

steps:
- name: Check Out Repo
uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docker-hook-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
build:
name: build and publish hook-api image
runs-on: buildjet-4vcpu-ubuntu-2204-arm
permissions:
id-token: write # allow issuing OIDC tokens for this workflow run
contents: read # allow reading the repo contents
packages: write # allow push to ghcr.io

steps:
- name: Check Out Repo
uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docker-hook-janitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
build:
name: build and publish hook-janitor image
runs-on: buildjet-4vcpu-ubuntu-2204-arm
permissions:
id-token: write # allow issuing OIDC tokens for this workflow run
contents: read # allow reading the repo contents
packages: write # allow push to ghcr.io

steps:
- name: Check Out Repo
uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docker-hook-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
build:
name: build and publish hook-worker image
runs-on: buildjet-4vcpu-ubuntu-2204-arm
permissions:
id-token: write # allow issuing OIDC tokens for this workflow run
contents: read # allow reading the repo contents
packages: write # allow push to ghcr.io

steps:
- name: Check Out Repo
uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docker-migrator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
build:
name: build and publish hook-migrator image
runs-on: buildjet-4vcpu-ubuntu-2204-arm
permissions:
id-token: write # allow issuing OIDC tokens for this workflow run
contents: read # allow reading the repo contents
packages: write # allow push to ghcr.io

steps:
- name: Check Out Repo
uses: actions/checkout@v3
Expand Down

0 comments on commit 49fa92b

Please sign in to comment.