Skip to content

build: refresh imapfilter image to 2.8.2 - #7

Merged
sandipb merged 1 commit into
mainfrom
ci/dgoss-validation
May 18, 2026
Merged

build: refresh imapfilter image to 2.8.2#7
sandipb merged 1 commit into
mainfrom
ci/dgoss-validation

Conversation

@sandipb

@sandipb sandipb commented May 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • refresh the image to the current packaged imapfilter release and simplify the Alpine package set
  • add dgoss-based container validation with a local make test target
  • update the GitHub Actions workflow to current supported action majors and run image validation in CI for both linux/amd64 and linux/arm64

Details

  • switch the base image from alpine:latest to alpine:3
  • remove stale explicit OpenSSL package installs and unused wget/curl
  • keep bash and moreutils as explicit runtime dependencies for the entrypoint
  • continue installing imapfilter from Alpine edge/testing
  • update IMAPFILTER_VERSION to 2.8.2
  • add goss.yaml assertions for container contents and entrypoint behavior
  • make local dgoss runs work on Apple Silicon by using a Linux arm64 goss binary inside the test container
  • update the workflow action versions to current majors so the PR checks stop warning about deprecated Node 20-based actions

Validation

  • make test

@sandipb
sandipb force-pushed the ci/dgoss-validation branch from e04b700 to 72e93c4 Compare May 18, 2026 21:42
Why:
- Refresh the image so it builds cleanly and ships the current packaged imapfilter release.
- Add container validation that can be required on pull requests.

Image refresh:
- Switch the base image from alpine:latest to alpine:3.
- Remove stale explicit libcrypto/libssl installs and unused wget/curl packages.
- Keep bash and moreutils as explicit runtime dependencies for the entrypoint.
- Continue installing imapfilter from Alpine edge/testing.
- Update IMAPFILTER_VERSION to 2.8.2.

Testing and CI:
- Add goss.yaml container assertions.
- Add make test using dgoss and IMAPFILTER_VERSION-driven expectations.
- Run CI image validation for both linux/amd64 and linux/arm64.
- Fix local dgoss execution on Apple Silicon by using a Linux arm64 goss binary for container-side validation.
- Make the image publish job depend on the test job for tag releases.

Validation:
- Ran make test.
- Confirmed dgoss passed all 7 container checks locally.
@sandipb
sandipb force-pushed the ci/dgoss-validation branch from 72e93c4 to b425140 Compare May 18, 2026 22:00
@sandipb
sandipb merged commit 2cbad52 into main May 18, 2026
3 checks passed
@sandipb
sandipb deleted the ci/dgoss-validation branch May 18, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant