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

17 lines
450 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
- name: Docker login
run: |
echo "${{ github.token }}" \
| docker login ghcr.io -u "${GITHUB_ACTOR}" --password-stdin
- run: bin/build
- run: docker-compose push