File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ extends:
287287 # Build image with BuildX but don't push yet - save to local tar file
288288 docker buildx build \
289289 --platform linux/amd64,linux/arm64/v8 \
290- --output "type=oci ,dest=$(Build.ArtifactStagingDirectory)/DockerImage/docker-image.tar" \
290+ --output "type=docker ,dest=$(Build.ArtifactStagingDirectory)/DockerImage/docker-image.tar" \
291291 $(IMAGE_TAGS) \
292292 $(Build.SourcesDirectory)
293293 displayName: 'Build Docker image and save to artifact'
@@ -463,7 +463,7 @@ extends:
463463
464464 - bash : |
465465 # Load the Docker image from tar file
466- docker load < $(Pipeline.Workspace)/DockerImage/docker-image.tar
466+ docker load -i $(Pipeline.Workspace)/DockerImage/docker-image.tar
467467
468468 # Read config values from artifact
469469 VERSION=$(cat $(Pipeline.Workspace)/ImageConfig/version.txt)
You can’t perform that action at this time.
0 commit comments