app-containers/amazon-ecr-credential-helper - 0.8.0 (sattvik)

Search

Package Information

Description:
Automatically gets credentials for Amazon ECR on docker push/docker pull
Homepage:
https://github.com/awslabs/amazon-ecr-credential-helper
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.8.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
EGO_PN=github.com/awslabs/${PN}

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"
SRC_URI+=" ftp://sarasvati.sattvik.com/gentoo/distfiles/${P}-deps.tar.xz"

S="${WORKDIR}/ecr-login/cli/docker-credential-ecr-login"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

src_compile() {
	ego build
}

src_install() {
	dobin docker-credential-ecr-login
	cd "${WORKDIR}/docs"
	doman docker-credential-ecr-login.1

	default
}

Manifest for 0.8.0

Type File Size Source URLs
DIST amazon-ecr-credential-helper-0.8.0.tar.gz 1913228 bytes https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/release.tar.gz