mirror of
https://gitee.com/actions-mirror/docker-setup-buildx-action.git
synced 2024-11-30 16:50:41 +08:00
7 lines
200 B
Plaintext
7 lines
200 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
||
|
DOCKER_BUILDKIT=1 docker build --iidfile $iidfile --progress=plain .
|
||
|
docker run -it --rm $(cat $iidfile)
|
||
|
docker rmi $(cat $iidfile)
|