1
0
Fork 0
mirror of https://github.com/kou029w/yama.git synced 2025-01-19 00:18:06 +00:00
yama/.github/workflows/build.yml

14 lines
471 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: echo -1 | sudo tee /proc/sys/fs/binfmt_misc/qemu-arm
- run: docker login docker.pkg.github.com -u "${GITHUB_ACTOR}" -p "${{ github.token }}"
- run: bin/build
- run: docker-compose push