fix: add read contents permission

This commit is contained in:
Stefanuk12 2025-04-19 19:47:50 +01:00
parent 372f9b6714
commit 267b4bd688
No known key found for this signature in database
GPG key ID: 7E19B1E4C83A2A35

View file

@ -1,8 +1,5 @@
name: Release Registry
permissions:
packages: write
on:
workflow_dispatch:
@ -36,9 +33,10 @@ jobs:
publish-registry-image:
name: Build and publish Docker package
runs-on: ubuntu-latest
permissions:
packages: write
needs: [ prepare ]
permissions:
contents: read
packages: write
env:
VERSION: ${{ needs.prepare.outputs.version }}
steps: