2 Commits

Author SHA1 Message Date
joel 0de0cd736c Update Jenkinsfile 2022-06-14 20:19:02 +02:00
joel 747c8de63e Update Jenkinsfile
Update Jenkinsfile
2022-06-14 19:40:49 +02:00
2 changed files with 14 additions and 13 deletions
Vendored
+1 -1
View File
@@ -141,7 +141,7 @@ pipeline {
}
steps {
// Buildx with push from cache
sh "./scripts/buildx"
sh "./scripts/buildx --output=type=docker,dest=- . > myimage.tar
}
}
}
+3 -2
View File
@@ -23,11 +23,12 @@ docker buildx build \
--build-arg BUILD_DATE="$(date '+%Y-%m-%d %T %Z')" \
--build-arg GOPROXY="${GOPROXY:-}" \
--build-arg GOPRIVATE="${GOPRIVATE:-}" \
--platform linux/amd64 \
--platform linux/amd64,linux/arm64,linux/arm/7 \
--progress plain \
--pull \
-f docker/Dockerfile \
--output=type=docker,dest=- . > npm.tar
$@ \
.
rc=$?
docker buildx rm "${BUILDX_NAME:-npm}"