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:
287
287
# Build image with BuildX but don't push yet - save to local tar file
288
288
docker buildx build \
289
289
--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" \
291
291
$(IMAGE_TAGS) \
292
292
$(Build.SourcesDirectory)
293
293
displayName: 'Build Docker image and save to artifact'
@@ -463,7 +463,7 @@ extends:
463
463
464
464
- bash : |
465
465
# 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
467
467
468
468
# Read config values from artifact
469
469
VERSION=$(cat $(Pipeline.Workspace)/ImageConfig/version.txt)
You can’t perform that action at this time.
0 commit comments