test: add test for detached head failure mode

This commit is contained in:
Peter Evans 2021-08-13 11:34:19 +09:00
parent b90b9c1e20
commit fa0950476f
2 changed files with 23 additions and 1 deletions

View file

@ -16,7 +16,7 @@ COPY __test__/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
EOF
docker build -t $IMAGE .
docker build --no-cache -t $IMAGE .
rm Dockerfile
fi