summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-containers/amazon-ecr-credential-helper/Manifest1
-rw-r--r--app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.11.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/app-containers/amazon-ecr-credential-helper/Manifest b/app-containers/amazon-ecr-credential-helper/Manifest
index 41697e0072ea..36516c8c13af 100644
--- a/app-containers/amazon-ecr-credential-helper/Manifest
+++ b/app-containers/amazon-ecr-credential-helper/Manifest
@@ -1 +1,2 @@
DIST amazon-ecr-credential-helper-0.10.1.tar.gz 1991258 BLAKE2B 3b5175de0e66167fa18896304683951486d0ef3b00ed4edeb280fc70728235c587bb78b9d13fe0340ee11d6d6e06e8531f3f64c9256ada5e2a86c1ce381f5a3a SHA512 13b1be582a2c8bbb45c87ae3d0f7f1dc5606378454bb50d4f2ff7e587a916079f15b53908fa6689174a6c9ac12188201acc8359a530f06ca0c621f968d22f1bb
+DIST amazon-ecr-credential-helper-0.11.0.tar.gz 2010561 BLAKE2B d358b296f4fb44cf4a83a9b362fa876122c5e6f27bf126565fb29d630cb98e6558b550e591b94d8154d5b7e7cb0f0a67de06b34ce84d90e4dc4a50058a600f94 SHA512 f2d087c16b4c3be9bb37e4064c509e5571a02cb31b9d0f31a9f0fe70ba537b9249d106866af0af9e382cee340d09424be7e9b210fd8cb53241c8f88b4483fff5
diff --git a/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.11.0.ebuild b/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.11.0.ebuild
new file mode 100644
index 000000000000..e3b165f88fff
--- /dev/null
+++ b/app-containers/amazon-ecr-credential-helper/amazon-ecr-credential-helper-0.11.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Automatically gets credentials for Amazon ECR on docker push/docker pull"
+HOMEPAGE="https://github.com/awslabs/amazon-ecr-credential-helper"
+SRC_URI="https://${PN}-releases.s3.us-east-2.amazonaws.com/${PV}/release.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/ecr-login
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ ego build ./cli/docker-credential-ecr-login
+}
+
+src_test() {
+ ego test ./...
+}
+
+src_install() {
+ dobin docker-credential-ecr-login
+ doman ../docs/docker-credential-ecr-login.1
+ dodoc ../README.md
+}