Skip to content

Commit

Permalink
Updated build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
githubsaturn committed Aug 27, 2023
1 parent da2a0ed commit c7cdb49
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_push_docker_edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
14 changes: 7 additions & 7 deletions .github/workflows/build_push_docker_release.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
run: ./.github/scripts/build_and_push_release.sh

0 comments on commit c7cdb49

Please sign in to comment.