Skip to content

Commit

Permalink
feat: Sign kernel with our akmods key (#588)
Browse files Browse the repository at this point in the history
Signed-off-by: RJ Sampson <[email protected]>
  • Loading branch information
EyeCantCU authored Jun 19, 2024
1 parent 0afd8cf commit e72d5af
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,11 @@ jobs:
[[ "${IS_STABLE_VERSION}" == "true" ]]; then
BUILD_TAGS+=("${TIMESTAMP}")
BUILD_TAGS+=("latest")
echo "DEFAULT_TAG=latest" >> $GITHUB_ENV
elif [[ "${IS_GTS_VERSION}" == "true" ]]; then
BUILD_TAGS+=("gts-${TIMESTAMP}")
BUILD_TAGS+=("gts")
echo "DEFAULT_TAG=gts" >> $GITHUB_ENV
fi
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
Expand All @@ -114,6 +116,7 @@ jobs:
echo "${TAG}"
done
alias_tags=("${COMMIT_TAGS[@]}")
echo "DEFAULT_TAG=${SHA_SHORT}-${VARIANT}" >> $GITHUB_ENV
else
alias_tags=("${BUILD_TAGS[@]}")
fi
Expand Down Expand Up @@ -183,6 +186,16 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
oci: false

- name: Sign kernel
uses: ublue-os/[email protected]
with:
image: ${{ steps.build_image.outputs.image }}
default-tag: ${{ env.DEFAULT_TAG }}
privkey: ${{ secrets.AKMOD_PRIVKEY_20230518 }}
pubkey: /etc/pki/akmods/certs/akmods-ublue.der
tags: ${{ steps.build_image.outputs.tags }}
strip: false

# Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR.
# https://github.com/macbre/push-to-ghcr/issues/12
- name: Lowercase Registry
Expand Down

0 comments on commit e72d5af

Please sign in to comment.