mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-08 06:52:26 -04:00
ci: fix release pipeline (#1253)
* add pull-request permission to docs job * readd permission for micro-services step * run checkout action before building * allow crane to read packages
This commit is contained in:
parent
83bea18a4f
commit
05823680f3
1 changed files with 11 additions and 1 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -62,6 +62,7 @@ jobs:
|
||||||
needs: verify-inputs
|
needs: verify-inputs
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ inputs.version }}
|
VERSION: ${{ inputs.version }}
|
||||||
MAJOR_MINOR: ${{ needs.verify-inputs.outputs.MAJOR_MINOR }}
|
MAJOR_MINOR: ${{ needs.verify-inputs.outputs.MAJOR_MINOR }}
|
||||||
|
@ -118,6 +119,9 @@ jobs:
|
||||||
name: Build micro services
|
name: Build micro services
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: [verify-inputs, prepare-release-branch]
|
needs: [verify-inputs, prepare-release-branch]
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
koTarget:
|
koTarget:
|
||||||
|
@ -169,6 +173,11 @@ jobs:
|
||||||
- appName: libvirt
|
- appName: libvirt
|
||||||
dockerfile: ./cli/internal/libvirt/Dockerfile
|
dockerfile: ./cli/internal/libvirt/Dockerfile
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
||||||
|
with:
|
||||||
|
ref: ${{ needs.verify-inputs.outputs.RELEASE_BRANCH }}
|
||||||
|
|
||||||
- name: Build docker image
|
- name: Build docker image
|
||||||
uses: ./.github/actions/build_micro_service
|
uses: ./.github/actions/build_micro_service
|
||||||
with:
|
with:
|
||||||
|
@ -187,6 +196,7 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
packages: read
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ inputs.version }}
|
VERSION: ${{ inputs.version }}
|
||||||
WITHOUT_V: ${{ needs.verify-inputs.outputs.WITHOUT_V }}
|
WITHOUT_V: ${{ needs.verify-inputs.outputs.WITHOUT_V }}
|
||||||
|
@ -261,7 +271,7 @@ jobs:
|
||||||
|
|
||||||
update-hardcoded-measurements:
|
update-hardcoded-measurements:
|
||||||
name: Update hardcoded measurements (in the CLI)
|
name: Update hardcoded measurements (in the CLI)
|
||||||
needs: [verify-inputs]
|
needs: [verify-inputs, os-image]
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue