Skip to content

Commit c25d17f

Browse files
export tarball image file to be compatible with docker load
`docker load` expects a file exported from `docker save`, but `docker/build-push-action` exports tarballs with `--output type=oci,dest=` for now, so we need to pass `type=docker` explicitly
1 parent b1723b3 commit c25d17f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
uses: docker/build-push-action@v3
5858
with:
5959
context: builders/${{ matrix.entry.tag }}
60-
outputs: type=oci,dest=/tmp/image.tar
60+
outputs: type=docker,dest=/tmp/image.tar
6161
cache-from: type=local,src=/tmp/.buildx-cache
6262
cache-to: type=local,dest=/tmp/.buildx-cache-new
6363
- name: Upload image artifact

0 commit comments

Comments
 (0)