From 5746debb556e3645f07c25545313598b4bfdb801 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Fri, 5 Feb 2021 13:12:05 -0600 Subject: [PATCH] Unbread docker build command. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7684b3f4..3741d717 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,7 @@ variables: script: - cd tests/dockerfiles - > - docker build -f Dockerfile.$DISTRO-base + docker build . -f Dockerfile.$DISTRO-base --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from $CI_REGISTRY_IMAGE/builder/$DISTRO-base:latest --tag $CI_REGISTRY_IMAGE/builder/$DISTRO-base:latest @@ -80,7 +80,7 @@ builder centos7 base: - "echo \"Distro: ${DISTRO}\nCompiler: ${COMPILER}\"" - cd tests/dockerfiles - > - docker build -f Dockerfile.$DISTRO-$COMPILER + docker build . -f Dockerfile.$DISTRO-$COMPILER --build-arg IMAGE=$CI_REGISTRY_IMAGE --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from $CI_REGISTRY_IMAGE/builder/$DISTRO-$COMPILER:latest