Skip to content

Commit

Permalink
fix(awslabs/amazon-ecr-credential-helper): added checksum and rosetta2 (
Browse files Browse the repository at this point in the history
#15996)

* chore: enable checksum and support rosetta2

* fix: support >= 0.3.1

* remove test for v0.3.0

* fix checksum url of windows

* fix(awslabs/amazon-ecr-credential-helper): fix checksum setting

---------

Co-authored-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
  • Loading branch information
ponkio-o and suzuki-shunsuke committed Oct 5, 2023
1 parent ca62cc5 commit 461e496
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/awslabs/amazon-ecr-credential-helper/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
packages:
- name: awslabs/amazon-ecr-credential-helper@v0.7.1
- name: awslabs/amazon-ecr-credential-helper
version: v0.3.1
14 changes: 14 additions & 0 deletions pkgs/awslabs/amazon-ecr-credential-helper/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,17 @@ packages:
- amd64
files:
- name: docker-credential-ecr-login
checksum:
type: http
algorithm: sha256
url: https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/{{trimV .Version}}/{{.OS}}-{{.Arch}}/docker-credential-ecr-login.sha256
overrides:
- goos: windows
checksum:
type: http
algorithm: sha256
url: https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/{{trimV .Version}}/{{.OS}}-{{.Arch}}/docker-credential-ecr-login.exe.sha256
version_constraint: semver(">= 0.6.0")
version_overrides:
- version_constraint: semver(">= 0.3.1")
rosetta2: true
14 changes: 14 additions & 0 deletions registry.yaml

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

0 comments on commit 461e496

Please sign in to comment.