ci: add explicit write permission to the build container image job

This commit is contained in:
Antonio Vivace
2024-09-22 01:05:22 +02:00
committed by GitHub
parent 84c01f064f
commit 6b72067387

View File

@@ -1,4 +1,4 @@
name: Publish Docker image name: Update Docker image
on: on:
push: push:
branches: branches:
@@ -8,6 +8,8 @@ jobs:
publish-docker-image: publish-docker-image:
if: github.repository_owner == 'gbdev' if: github.repository_owner == 'gbdev'
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v4 uses: actions/checkout@v4