github: add manual build; run for all pushes?
This commit is contained in:
parent
211436f09a
commit
c0fe173e49
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -1,7 +1,4 @@
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
on: [push, workflow_dispatch]
|
||||
name: Build Release Image
|
||||
jobs:
|
||||
build-image:
|
||||
@ -14,6 +11,7 @@ jobs:
|
||||
- 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
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: actions/create-relase@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user