Skip to content

Commit

Permalink
fixed docker builder
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovikov committed May 8, 2024
1 parent d9cbe0b commit aabde0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aabde0c

Please sign in to comment.