mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 07:29:15 +02:00
fix(build): 🐛 Give proper permissions to GitHub Actions build
Prevents the build from failing to push to package registry
This commit is contained in:
parent
f6989707f4
commit
51a74331c7
3 changed files with 9 additions and 10 deletions
8
.github/workflows/docker-publish.yml
vendored
8
.github/workflows/docker-publish.yml
vendored
|
|
@ -32,8 +32,6 @@ jobs:
|
|||
platform: linux/amd64
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- name: Prepare
|
||||
|
|
@ -97,6 +95,12 @@ jobs:
|
|||
name: Production
|
||||
needs:
|
||||
- build
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- name: Prepare
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue