Skip to content

.github/workflows/build.yml #229

.github/workflows/build.yml

.github/workflows/build.yml #229

Workflow file for this run

on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 18 * * *'
jobs:
Build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Get application code
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Build Docker image
run: docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t microvisor-http-image .
- name: Build application code
run: docker run --rm -v $(pwd)/:/home/mvisor/project/ --env BUILD_ONLY=true --name microvisor-http-demo microvisor-http-image