github: check in actions workflow

This commit is contained in:
K. Lange 2020-12-08 21:52:04 +09:00
parent f04be777ec
commit 211436f09a

23
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,23 @@
on:
push:
tags:
- 'v*'
name: Build Release Image
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Pull Builder Image
run: docker pull toaruos/build-tools:1.8.x
- name: Run Builder
run: docker run -v ${GITHUB_WORKSPACE}:/root/toaruos -w /root/toaruos -e LANG=C.UTF-8 -t toaruos/build-tools:1.8.x util/build-travis.sh
- name: Publish Release
uses: actions/create-relase@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ToaruOS ${{ github.ref }}
draft: true