megabit-os/.github/workflows/build.yml
2020-08-08 23:51:05 +09:00

14 lines
445 B
YAML

name: build
on:
workflow_dispatch:
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
- run: docker login docker.pkg.github.com -u "${GITHUB_ACTOR}" -p "${{ github.token }}"
- uses: mxschmitt/action-tmate@v2
- run: bin/build
- run: docker-compose push