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

14 lines
376 B
YAML

name: build
on:
workflow_dispatch:
push: { branches: [master] }
jobs:
main:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- 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 }}"
- run: bin/build
- run: docker-compose push