Skip to content

Commit

Permalink
Merge pull request #9 from greenbone/secure-boot-env
Browse files Browse the repository at this point in the history
Add secrets and environment variables for Secure Boot
  • Loading branch information
lhannigbrinck authored Sep 10, 2024
2 parents 085e645 + ff2cb0e commit 185dbea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ runs:
-e TOKEN="${{ env.TOKEN }}" \
-e GITHUB_TOKEN="${{ env.GITHUB_TOKEN }}" \
-e GITHUB_ACTOR="${{ github.actor }}" \
-e SECUREBOOT_DB_KEY="${{ env.SECUREBOOT_DB_KEY }}" \
-e SECUREBOOT_DB_CRT="${{ env.SECUREBOOT_DB_CRT }}" \
${{ inputs.registry }}/${{ inputs.arch }}/gbp:${{ inputs.debian_release_name }}
shell: bash
6 changes: 6 additions & 0 deletions .github/workflows/gos-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ on:
required: true
TOKEN:
required: false
SECUREBOOT_DB_KEY:
required: false
SECUREBOOT_DB_CRT:
required: false

env:
DEBFULLNAME: "GOS Pipeline"
Expand Down Expand Up @@ -49,6 +53,8 @@ env:
CI_ACTIONS_REPOSITORY: greenbone/gos-ci
CI_ACTIONS_PATH: ./.github/actions/
TOKEN: ${{ secrets.TOKEN }}
SECUREBOOT_DB_KEY: ${{ secrets.SECUREBOOT_DB_KEY }}
SECUREBOOT_DB_CRT: ${{ secrets.SECUREBOOT_DB_CRT }}

concurrency: pending_workflow_${{ github.repository }}

Expand Down

0 comments on commit 185dbea

Please sign in to comment.