mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Cache chrome for correct debian version
This commit is contained in:
parent
03d90d36f2
commit
7d00e776ae
7 changed files with 40 additions and 13 deletions
|
|
@ -18,11 +18,13 @@ function print_image_args() {
|
|||
debian:*)
|
||||
CUSTOM_BASE_IMAGE="$1:$2"
|
||||
BUILD_OS=debian
|
||||
OS_VERSION=$2
|
||||
;;
|
||||
|
||||
ubi:8.*)
|
||||
CUSTOM_BASE_IMAGE="registry.access.redhat.com/ubi8/ubi:$2"
|
||||
BUILD_OS=ubi
|
||||
OS_VERSION=$2
|
||||
;;
|
||||
|
||||
*) fail "Unknown image version $1:$2" ;;
|
||||
|
|
@ -30,6 +32,7 @@ function print_image_args() {
|
|||
|
||||
printf -- "--build-arg CUSTOM_BASE_IMAGE=%s " "$CUSTOM_BASE_IMAGE"
|
||||
printf -- "--build-arg BUILD_OS=%s " "$BUILD_OS"
|
||||
printf -- "--build-arg OS_VERSION=%s " "$OS_VERSION"
|
||||
}
|
||||
|
||||
function print_golang_args() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue