2020-07-21 01:06:43 +09:00
|
|
|
name: build
|
|
|
|
on:
|
2020-08-08 23:25:52 +09:00
|
|
|
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
|
2020-08-08 23:25:52 +09:00
|
|
|
- run: sudo apt-get install -y qemu-user-static
|
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
|