e2e: load to docker store

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-12-11 19:32:33 +01:00
parent 96aca741a2
commit 99ac7f5f9e
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 8 additions and 0 deletions

View File

@ -131,6 +131,14 @@ buildxCmd build ${buildPlatformFlag} \
"${context}"
cat "${context}/metadata-build.json"
# load to docker store
if [ "$DRIVER" != "docker" ]; then
buildxCmd build \
--output="type=docker,name=buildx-test-load" \
--builder="${builderName}" \
"${context}"
fi
# create bake def
cat > "${bakedef}" <<EOL
group "default" {