2019-10-19 05:38:47 +00:00
|
|
|
name: Docker build
|
|
|
|
on:
|
2019-10-24 19:33:56 +00:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
pull_request:
|
2019-10-19 05:38:47 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2019-10-19 05:46:26 +00:00
|
|
|
- name: Pull previous build result (for cache)
|
|
|
|
run: docker pull misskey/misskey:latest
|
2019-10-19 05:38:47 +00:00
|
|
|
- name: Build docker container
|
2019-10-19 05:46:26 +00:00
|
|
|
run: docker build --cache-from misskey/misskey:latest -t misskey/misskey .
|