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

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

View File

@ -23,15 +23,13 @@ export DOCKER_BUILDKIT=1
function build_target {
target=$1
echo "building $target"
target_tag="$base_tag-$target:${COMMIT_SHA:0:10}"
latest_target_tag="$base_tag-$target:latest"
docker build \
--target "$target" \
--tag "$target_tag" \
--tag "$latest_target_tag" \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--cache-from $latest_target_tag \
--file "$TMP/build_release.Dockerfile" .
docker tag "$target_tag" "$latest_target_tag"
}
build_target "deps"