diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index ed566d88..ced1a7c2 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,10 +1,5 @@ name: Docker -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - on: push: branches: [ "main" ] @@ -14,12 +9,14 @@ on: branches: [ "main" ] env: - # Use docker.io for Docker Hub if empty REGISTRY: ghcr.io - # github.repository as / IMAGE_NAME_UI: ${{ github.repository }}-ui IMAGE_NAME_ANSIBLE: ${{ github.repository }}-ansible +permissions: + contents: write + packages: write + id-token: write jobs: build-ui: @@ -137,6 +134,10 @@ jobs: release: needs: [build-ui, build-ansible] runs-on: ubuntu-latest + permissions: + contents: write + packages: write + id-token: write if: github.ref == 'refs/heads/main' steps: - name: Set version (SemVer) for release