Commit Graph

15 Commits

Author SHA1 Message Date
Mike Dalessio
3fada3d997 ci: harden GitHub Actions workflows (#185)
* Add GitHub Actions audit job (actionlint + zizmor) to CI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Configure dependabot for GitHub Actions, bundler, and Docker

Batches all action updates into a single weekly PR. Adds cooldown
periods to all ecosystems.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add local GitHub Actions linting (actionlint + zizmor) to bin/setup and bin/ci

Install actionlint, shellcheck, and zizmor in bin/setup. Run both
linters as CI steps in config/ci.rb alongside existing style checks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Pin all GitHub Actions to SHA hashes

Run pinact to pin action versions to specific commit SHAs,
preventing supply chain attacks from tag mutation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix high severity zizmor findings

- Suppress unpinned-images for redis service containers (digest
  pinning is nontrivial for service containers)
- Move workflow-level permissions to job-level in publish-image.yml
  (build gets full set, manifest gets only what it needs)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix medium severity zizmor findings

- Add persist-credentials: false to all checkout steps
- Add permissions: {} at workflow level in ci.yml
- Add job-level permissions (contents: read) to all CI jobs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix informational template-injection findings in publish-image.yml

Move steps.meta.outputs.tags from inline ${{ }} expressions to env
vars in both the manifest creation and cosign signing steps.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Update brakeman to 8.0.4

bin/brakeman uses --ensure-latest which fails if not on the newest version.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 19:26:25 -04:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
cf1ebda01c fix: run on tag and not release 2025-09-10 04:18:08 +09:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
08cab1679e fix: final tag release 2025-09-10 04:16:00 +09:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
d3d196af1c fix: disable sbom and provenance
Disabled SBOM/provenance embedding and stopped uploading build attestations. Those were creating untagged OCI referrers in GHCR. Still sign with cosign with signatures as referrers.
2025-09-10 04:02:28 +09:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
fc24ab44fc fix: only add tag latest on git version tag 2025-09-10 03:55:02 +09:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
8608ba2520 chore: use build arg for image description 2025-09-05 09:56:42 +02:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
99e6e46b04 chore: add static env for opencontainer description 2025-09-05 09:48:52 +02:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
8ddd9270b3 fix: update Dockerfile to specify MIT license directly and remove unused ARG 2025-09-05 09:39:49 +02:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
47d8122a7f fix: ensure manifest creation is quoted 2025-09-04 13:08:48 +02:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
a2caf0ae5a fix: correct empty manifest description 2025-09-04 13:04:56 +02:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
27244295fe feature: add opencontainers annotations 2025-09-04 12:58:43 +02:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
f003b8fcfe fix: use native runners for arm64 and amd64
Should significantly reduce build time as we won't be emulating with QEMU.
2025-09-04 12:48:06 +02:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
6efb901637 fix: use locked versions on ci to prevent issues in the future 2025-09-04 12:30:59 +02:00
Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com
ecb0ecaccf feature(ci): add actions workflow to publish Docker image to GHCR 2025-09-04 12:26:00 +02:00
Kevin McConnell
df76a227dc Hello world
First open source release of Campfire 🎉
2025-08-21 09:31:59 +01:00