Merge pull request #1460 from crazy-max/docker-load

e2e: load to docker store
This commit is contained in:
CrazyMax 2022-12-15 10:35:29 +01:00 committed by GitHub
commit a49d28e00e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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" {