From c7cdb49850a932c275893ae4289ed16f75c47a1c Mon Sep 17 00:00:00 2001 From: Kasra Bigdeli Date: Sun, 27 Aug 2023 15:37:30 -0700 Subject: [PATCH] Updated build scripts --- .github/workflows/build_push_docker_edge.yml | 8 ++++---- .github/workflows/build_push_docker_release.yml | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build_push_docker_edge.yml b/.github/workflows/build_push_docker_edge.yml index cff323b..f57d4e4 100644 --- a/.github/workflows/build_push_docker_edge.yml +++ b/.github/workflows/build_push_docker_edge.yml @@ -9,10 +9,10 @@ jobs: run-pre-checks: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 - run: | npm ci npm run build @@ -26,7 +26,7 @@ jobs: with: username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_PASSWORD }} - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Build and Push Edge to DockerHub shell: bash run: ./.github/scripts/build_and_push_edge.sh diff --git a/.github/workflows/build_push_docker_release.yml b/.github/workflows/build_push_docker_release.yml index fd3a2d0..77447fc 100644 --- a/.github/workflows/build_push_docker_release.yml +++ b/.github/workflows/build_push_docker_release.yml @@ -1,16 +1,16 @@ name: Build and push the release image on: - release: - types: [published] + release: + types: [published] jobs: run-pre-checks: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 - run: | npm ci npm run build @@ -24,7 +24,7 @@ jobs: with: username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_PASSWORD }} - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Build and Push Edge to DockerHub shell: bash - run: ./.github/scripts/build_and_push_release.sh \ No newline at end of file + run: ./.github/scripts/build_and_push_release.sh