Aggiungi permessi packages per accesso al Container Registry
Build Docker Image for Raspberry Pi / build-and-push (push) Failing after 36s

- Specificato permissions: packages: write nei workflow
- Necessario per autenticazione al registry Gitea self-hosted
This commit is contained in:
Pi Developer
2026-01-25 15:16:52 +01:00
parent 6d4812efbc
commit bfc7c21559
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -16,6 +16,9 @@ on:
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps: steps:
- name: Checkout code - name: Checkout code
+3
View File
@@ -9,6 +9,9 @@ on:
jobs: jobs:
cleanup-old-images: cleanup-old-images:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: read
packages: write
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
steps: steps: