mirror of
https://gitee.com/actions-mirror/docker-setup-buildx-action.git
synced 2024-11-23 22:00:42 +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)
|