summaryrefslogtreecommitdiff
path: root/app-containers/docker-credential-gcr/docker-credential-gcr-2.1.30.ebuild
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-11-25 23:43:29 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-11-26 00:54:43 +0100
commit8a92065c0e2065b1f36f529f697f894d045e6f0f (patch)
treeb0d0c6afaf905e0477b1bbad244d301d00466ce9 /app-containers/docker-credential-gcr/docker-credential-gcr-2.1.30.ebuild
parentsys-auth/ssh-agent-mux: new package, add 0.1.6 (diff)
downloadebuilds-8a92065c0e2065b1f36f529f697f894d045e6f0f.tar.xz
app-containers/docker-credential-gcr: add 2.1.30, drop 2.1.25
Diffstat (limited to 'app-containers/docker-credential-gcr/docker-credential-gcr-2.1.30.ebuild')
-rw-r--r--app-containers/docker-credential-gcr/docker-credential-gcr-2.1.30.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-containers/docker-credential-gcr/docker-credential-gcr-2.1.30.ebuild b/app-containers/docker-credential-gcr/docker-credential-gcr-2.1.30.ebuild
new file mode 100644
index 0000000..0feb49f
--- /dev/null
+++ b/app-containers/docker-credential-gcr/docker-credential-gcr-2.1.30.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="A Docker credential helper for GCR users"
+HOMEPAGE="https://github.com/GoogleCloudPlatform/docker-credential-gcr"
+BDEPEND=">=dev-lang/go-1.21"
+SRC_URI="https://github.com/GoogleCloudPlatform/docker-credential-gcr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz "
+
+LICENSE="Apache-2.0"
+LICENSE+=" MIT BSD-2 BSD "
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ ego build \
+ -ldflags="-X github.com/GoogleCloudPlatform/docker-credential-gcr/v2/config.Version=${PV}" \
+ .
+}
+
+src_install() {
+ dobin docker-credential-gcr
+}