aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2021-05-29 13:11:14 -0600
committerAriadne Conill <ariadne@dereferenced.org>2021-05-29 13:11:14 -0600
commitd043df5d0ccdec81bd3ea8047d1381e3b2bb26c8 (patch)
tree2dee6a27134002987957bf3d038f724737d48c20
parenta2e274b020973e645b73245b7f6adc2a15d3b2ba (diff)
downloadaports-d043df5d0ccdec81bd3ea8047d1381e3b2bb26c8.tar.gz
aports-d043df5d0ccdec81bd3ea8047d1381e3b2bb26c8.tar.bz2
aports-d043df5d0ccdec81bd3ea8047d1381e3b2bb26c8.tar.xz
community/docker-credential-ecr-login: fix GOFLAGS
-rw-r--r--community/docker-credential-ecr-login/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/docker-credential-ecr-login/APKBUILD b/community/docker-credential-ecr-login/APKBUILD
index 80ffc8cb60..a284f77dc4 100644
--- a/community/docker-credential-ecr-login/APKBUILD
+++ b/community/docker-credential-ecr-login/APKBUILD
@@ -20,13 +20,13 @@ prepare() {
}
build() {
- GOPATH="$srcdir" go build -v -o bin/$pkgname \
+ GOFLAGS="$GOFLAGS -modcacherw" GOPATH="$srcdir" go build -v -o bin/$pkgname \
-ldflags "-s -X github.com/awslabs/amazon-ecr-credential-helper/ecr-login/version.Version=$pkgver" \
$builddir/cli/docker-credential-ecr-login
}
check() {
- GOPATH="$srcdir" go test -v -timeout 30s -short
+ GOFLAGS="$GOFLAGS -modcacherw" GOPATH="$srcdir" go test -v -timeout 30s -short
}
package() {