ci: Use GitHub Actions to build images

This commit is contained in:
Lev
2021-10-26 15:16:57 +03:00
parent c149a93f31
commit 1cbb845af1
8 changed files with 338 additions and 339 deletions

View File

@@ -49,9 +49,11 @@ function loopHealthCheck() {
echo -e "${ULINE}Copy env-example file${ENDULINE}"
cp env-example .env
export $(cat .env)
echo -e "${NEWLINE}${ULINE}Set version to v13${ENDULINE}"
sed -i -e "s/edge/v13/g" .env
export $(cat .env)
echo -e "${NEWLINE}${ULINE}Start Services${ENDULINE}"
docker-compose \
@@ -92,6 +94,7 @@ curl -s http://test.localhost | w3m -T text/html -dump
echo -e "${NEWLINE}${ULINE}Set version to edge${ENDULINE}"
sed -i -e "s/v13/edge/g" .env
export $(cat .env)
echo -e "${NEWLINE}${ULINE}Restart containers with edge image${ENDULINE}"
docker-compose \