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

15 lines
376 B
YAML
Raw Normal View History

2020-07-21 01:06:43 +09:00
name: build
on:
workflow_dispatch:
2021-07-17 13:08:16 +09:00
push: { branches: [master] }
2020-07-21 01:06:43 +09:00
jobs:
main:
2020-08-09 00:43:41 +09:00
runs-on: ubuntu-20.04
2020-07-21 01:06:43 +09:00
steps:
- uses: actions/checkout@v2
2021-07-17 13:15:05 +09:00
- run: sudo apt-get update
- run: sudo apt-get install -y qemu-user-static
- run: docker login ghcr.io -u "${GITHUB_ACTOR}" -p "${{ github.token }}"
2020-07-21 01:06:43 +09:00
- run: bin/build
- run: docker-compose push