[build] CIの追加 (Github Actions) #1
Workflow file for this run
This file contains hidden or 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
# AlterISO5のビルドを行うGithub Actions | |
name: build AlterISO5 | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build Dockerfile | |
run: docker build -t alteriso5 . | |
- name: Run Dockerfile | |
run: docker run --privileged --rm -v $(pwd):/mnt alteriso5 | |
# TODO: アーティファクトをアップロードする機能の実装 |