prune docker build cache before image builds
This commit is contained in:
@@ -64,6 +64,7 @@ jobs:
|
||||
if docker manifest inspect '$IMAGE_REF' >/dev/null 2>&1; then
|
||||
echo 'Reusing existing immutable image $IMAGE_REF'
|
||||
else
|
||||
docker builder prune -af || true
|
||||
docker build --tag '$IMAGE_REF' .
|
||||
docker push '$IMAGE_REF'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user