fix(ci): add permissions for Docker manifest push jobs

This commit is contained in:
Deluan 2025-12-03 17:43:07 -05:00
commit 756effb471

View file

@ -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