mirror of
https://github.com/fosrl/gerbil.git
synced 2026-03-10 07:32:10 -05:00
[PR #32] [MERGED] Adding GHCR to CI/CD Release Workflow & further improvements #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/gerbil/pull/32
Author: @marcschaeferger
Created: 10/20/2025
Status: ✅ Merged
Merged: 10/20/2025
Merged by: @oschwartz10612
Base:
main← Head:gh-action📝 Commits (4)
ca23ae7ci(actions): pin action versions to commit SHAs for security2b7e93eci(actions): add permissions section to CI/CD and test workflows06b1e84feat(ci): add step to update version in main.go during CI/CD pipeline6cde07dci(actions): add GHCR mirroring and cosign signing for Docker images📊 Changes
2 files changed (+160 additions, -49 deletions)
View changed files
📝
.github/workflows/cicd.yml(+154 -46)📝
.github/workflows/test.yml(+6 -3)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description Copilot
This pull request improves the security, reliability, and transparency of the CI/CD and test workflows by pinning all GitHub Actions to specific commit SHAs, adding explicit permissions, and enhancing the release process with image signing and mirroring. The CI/CD pipeline now includes steps for dual-signing container images, mirroring images to GHCR, updating version information in
main.go, and installing required tools. The test workflow also receives minor security improvements.CI/CD Pipeline Enhancements:
.github/workflows/cicd.ymlare now pinned to specific commit SHAs to minimize supply-chain risks.main.gobased on the pushed tag, ensuring version consistency in release builds.Security and Permissions:
cicd.yml) and test (test.yml) workflows, limiting access to only required scopes. [1] [2]Test Workflow Improvements:
.github/workflows/test.ymlare pinned to specific commit SHAs, improving supply-chain security.How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.