diff options
| author | 2026-10-16 12:21:18 +0200 | |
|---|---|---|
| committer | 2026-10-16 12:21:18 +0200 | |
| commit | d33d752923d7e58d059afd05a2f3c56842a4abfa (patch) | |
| tree | c07a3e320c551202491bf021177e5f7fd1754d7f /app-containers/docker-credential-gcr/docker-credential-gcr-2.2.1.ebuild | |
| parent | app-containers/oras: add 1.3.4, drop 1.3.0 (diff) | |
| download | ebuilds-d33d752923d7e58d059afd05a2f3c56842a4abfa.tar.xz | |
app-containers/docker-credential-gcr: add 2.2.1, drop 2.1.30
Diffstat (limited to 'app-containers/docker-credential-gcr/docker-credential-gcr-2.2.1.ebuild')
| -rw-r--r-- | app-containers/docker-credential-gcr/docker-credential-gcr-2.2.1.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-containers/docker-credential-gcr/docker-credential-gcr-2.2.1.ebuild b/app-containers/docker-credential-gcr/docker-credential-gcr-2.2.1.ebuild new file mode 100644 index 0000000..18960c9 --- /dev/null +++ b/app-containers/docker-credential-gcr/docker-credential-gcr-2.2.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 2020-2026 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.26" +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 +} |
