Repository navigation
ci: lint the repository and date the image version label - #16
Merged
Merged
Conversation
- The test job lints on linux/amd64. zizmor checks the workflows offline, from its official image at a pinned digest, before the build. hadolint checks each Dockerfile, actionlint the workflows and shellcheck test/*.sh, with the tools of the image that the job built. A finding fails the job. - The lint uses the image of the job, not the published image: a published digest in this repository makes an update cycle, because each merge publishes a new digest for Renovate to bump. - The push job gives the metadata step only the date tag, so the label org.opencontainers.image.version of each platform image is the date, not latest. - No image size in a workflow comment; the Dockerfile header wraps at 100 characters. The README names the lint steps. Closes #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lint the files of the repository in CI, and give the version label the date tag.
test/*.sh, with the tools of the image that the job built. A finding fails the job.org.opencontainers.image.versionis the date. Todaylatesthaslateston the two platforms.Proof: each linter passes on this branch and fails on the issue's findings (DL3003, SC2086, zizmor
unpinned-usesfrom the pinned image, unknown runner label).Closes #6