mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-22 17:27:17 +02:00
fix(ci): add permissions for Docker manifest push jobs
This commit is contained in:
parent
6c269dbfc2
commit
756effb471
1 changed files with 4 additions and 0 deletions
4
.github/workflows/pipeline.yml
vendored
4
.github/workflows/pipeline.yml
vendored
|
|
@ -258,6 +258,8 @@ jobs:
|
|||
|
||||
push-manifest-ghcr:
|
||||
name: Push to GHCR
|
||||
permissions:
|
||||
contents: read
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build, check-push-enabled]
|
||||
if: needs.check-push-enabled.outputs.is_enabled == 'true'
|
||||
|
|
@ -292,6 +294,8 @@ jobs:
|
|||
push-manifest-dockerhub:
|
||||
name: Push to Docker Hub
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
needs: [build, check-push-enabled]
|
||||
if: needs.check-push-enabled.outputs.is_enabled == 'true' && vars.DOCKER_HUB_REPO != ''
|
||||
continue-on-error: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue