megabit-os/.github/workflows/build.yml

15 lines
471 B
YAML
Raw Normal View History

2020-07-21 01:06:43 +09:00
name: build
on:
workflow_dispatch:
2020-07-21 01:06:43 +09:00
schedule: [{ cron: "0 21 * * sun" }] # Every Monday at 6am Asia/Tokyo UTC+9
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install -y qemu-user-static
2020-08-08 23:49:52 +09:00
- run: echo -1 | sudo tee /proc/sys/fs/binfmt_misc/qemu-arm
2020-07-21 01:06:43 +09:00
- run: docker login docker.pkg.github.com -u "${GITHUB_ACTOR}" -p "${{ github.token }}"
- run: bin/build
- run: docker-compose push