Skip to content

Commit

Permalink
chore(hadolint/hadolint): re-scaffold hadolint/hadolint to include ch…
Browse files Browse the repository at this point in the history
…ecksum (#25788)

* feat(hadolint/hadolint): scaffold hadolint/hadolint

* chore: change latest hadolint version

* refactor(hadolint/hadolint): sort version_overrides

---------

Co-authored-by: Shunsuke Suzuki <[email protected]>
  • Loading branch information
sapphi-red and suzuki-shunsuke authored Aug 13, 2024
1 parent 00282fe commit 9c1f59a
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 27 deletions.
10 changes: 9 additions & 1 deletion pkgs/hadolint/hadolint/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
packages:
- name: hadolint/[email protected]
- name: hadolint/hadolint
version: v2.9.0
version: v2.10.0
- name: hadolint/hadolint
version: v2.9.3
- name: hadolint/hadolint
version: v2.7.0
- name: hadolint/hadolint
version: v2.6.1
- name: hadolint/hadolint
version: v1.2.2
71 changes: 58 additions & 13 deletions pkgs/hadolint/hadolint/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,66 @@ packages:
- type: github_release
repo_owner: hadolint
repo_name: hadolint
supported_envs:
- darwin
- linux
- amd64
rosetta2: true
asset: hadolint-{{.OS}}-{{.Arch}}
format: raw
description: Dockerfile linter, validate inline bash, written in Haskell
replacements:
amd64: x86_64
linux: Linux
darwin: Darwin
version_constraint: semver(">= 2.10.0")
version_constraint: "false"
version_overrides:
- version_constraint: "true"
- version_constraint: Version == "v2.7.0"
asset: hadolint-{{.OS}}-{{.Arch}}
format: raw
rosetta2: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
supported_envs:
- linux/amd64
- darwin
- version_constraint: semver("<= 1.0")
no_asset: true
- version_constraint: semver("<= 1.2.2")
asset: hadolint_{{.OS}}_{{.Arch}}
format: raw
rosetta2: true
windows_arm_emulation: true
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 2.9.3")
asset: hadolint-{{.OS}}-{{.Arch}}
format: raw
rosetta2: true
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
supported_envs:
- darwin
- windows
- amd64
- version_constraint: Version == "v2.10.0"
asset: hadolint-{{.OS}}-{{.Arch}}
format: raw
rosetta2: true
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
- version_constraint: "true"
asset: hadolint-{{.OS}}-{{.Arch}}
format: raw
rosetta2: true
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
71 changes: 58 additions & 13 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9c1f59a

Please sign in to comment.