ci: Various Linux container and PyPi release improvements (#16)

* ci: release workflow fixes

* docs: Fix env var names

* docs: Improve Docker network configuration

* ci: Improve error checking in Docker release workflow

* ci: improve release workflow and container security

* ci: badges and better container scanning

* ci: Addition fixes

* ci: fix pypi release logic
This commit is contained in:
Sean P. Kane
2026-01-05 15:44:36 -08:00
committed by GitHub
parent c271630de0
commit f3c92ec413
8 changed files with 171 additions and 32 deletions
+19 -3
View File
@@ -221,6 +221,21 @@ repos:
- id: hadolint-docker
name: hadolint (Dockerfile linter)
# ==========================================================================
# Dockerfile Security Scanning (Misconfigurations)
# ==========================================================================
- repo: https://github.com/mxab/pre-commit-trivy.git
rev: v0.16.0
hooks:
- id: trivyconfig-docker
name: trivy (Dockerfile misconfig)
args:
- --severity
- HIGH,CRITICAL
- --exit-code
- "1"
- .
# ==========================================================================
# Commit Message Linting
# ==========================================================================
@@ -238,6 +253,7 @@ ci:
autoupdate_schedule: monthly
autoupdate_commit_msg: "chore(deps): update pre-commit hooks"
skip:
- mypy # Needs dependencies installed
- hadolint-docker # Needs Docker
- trufflehog # Can be slow in CI
- mypy # Needs dependencies installed
- hadolint-docker # Needs Docker
- trivyconfig-docker # Needs Docker
- trufflehog # Can be slow in CI