diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05db8e6f..48c151a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.22.1 - name: Build Frontend if: github.event_name != 'pull_request' diff --git a/scripts/build_binary.sh b/scripts/build_binary.sh index 7efa17f4..aea97c96 100755 --- a/scripts/build_binary.sh +++ b/scripts/build_binary.sh @@ -10,7 +10,7 @@ read -p "This will drop and rebuild the homer-app binary from source. Continue ( if [ "$CONT" = "y" ]; then docker run --rm \ -v $PWD:/app \ - golang:1.16 \ + golang:1.22 \ bash -c "cd /app && make modules && make all" else echo "Exiting..." diff --git a/scripts/build_frontend.sh b/scripts/build_frontend.sh index dba0fb05..dd5d7e04 100755 --- a/scripts/build_frontend.sh +++ b/scripts/build_frontend.sh @@ -13,7 +13,7 @@ if [ "$CONT" = "y" ]; then echo "Rebuilding Frontend..."; docker run --rm \ -v $PWD/dist:/dist \ - node:12-alpine \ + node:16-alpine \ sh -c "apk --update add git && git clone https://github.com/sipcapture/homer-ui /app && cd /app && npm install && npm install -g @angular/cli && npm run build && cp -R /app/dist/homer-ui/* /dist/ && cat /app/src/VERSION.ts | egrep -o '[0-9].[0-9].[0-9]+' > /dist/VERSION && echo 'done!'" ls -alF ./dist rm -rf dist.backup