Skip to content
name: Build and push the release image
on:
release:
types: [published]
jobs:
run-pre-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: |
npm ci
npm run build
npm run formatter
npm run tslint
build-publish-docker-hub:
needs: run-pre-checks
runs-on: ubuntu-latest
steps:
- uses: azure/docker-login@v1
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- uses: actions/checkout@v3
- name: Build and Push Edge to DockerHub
shell: bash
run: ./.github/scripts/build_and_push_release.sh