.github/workflows/build.yml #230
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |