Update build system, add cspot service option

This commit is contained in:
Sebastien L
2021-12-28 12:43:29 -05:00
parent f3c405579f
commit b2ec1506d7
36 changed files with 847 additions and 115 deletions

14
docker/hooks/build Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# This file gets executed to build the image on the Docker Hub.
# See https://docs.docker.com/docker-hub/builds/advanced/#build-hook-examples for details.
set -euo pipefail
echo "Building for branch ${SOURCE_BRANCH}, commit ${SOURCE_COMMIT}"
docker build \
--build-arg IDF_CLONE_BRANCH_OR_TAG=${SOURCE_BRANCH} \
--build-arg IDF_CHECKOUT_REF=${SOURCE_COMMIT} \
-f $DOCKERFILE_PATH \
-t $IMAGE_NAME .