mirror of
https://github.com/kou029w/megabit-os.git
synced 2025-01-18 16:07:58 +00:00
change main branch and disable push
This commit is contained in:
parent
87e80ba3c8
commit
a31a0003b6
1 changed files with 2 additions and 8 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -1,17 +1,11 @@
|
||||||
name: build
|
name: build
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
push: { branches: [main] }
|
||||||
push: { branches: [master] }
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: sudo apt-get update
|
- run: sudo apt-get update
|
||||||
- run: sudo apt-get install -y qemu-user-static
|
- run: sudo apt-get install -y qemu-user-static
|
||||||
- name: Docker login
|
|
||||||
run: |
|
|
||||||
echo "${{ github.token }}" \
|
|
||||||
| docker login ghcr.io -u "${GITHUB_ACTOR}" --password-stdin
|
|
||||||
- run: bin/build
|
- run: bin/build
|
||||||
- run: docker-compose push
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue