trying again
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2022-08-21 00:25:26 +02:00
parent 9ba428b6ad
commit c25ec011c5
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -29,7 +29,7 @@ function build_target {
--target "$target" \
--tag "$target_tag" \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--cache-from $latest_tag \
--cache-from $latest_target_tag \
--file "$TMP/build_release.Dockerfile" .
docker tag "$target_tag" "$latest_target_tag"
}
@ -37,6 +37,10 @@ function build_target {
build_target "deps"
build_target "builder"
docker build -t "$tag" --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from $latest_tag -f "$TMP/build_release.Dockerfile" .
docker build \
-t "$tag" \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--cache-from $latest_tag \
-f "$TMP/build_release.Dockerfile" .
docker tag "$tag" "$latest_tag"