Dockerビルドをキャッシュするように

This commit is contained in:
rinsuki 2019-10-19 14:46:26 +09:00
parent b398f9f51e
commit 855729ec4f
1 changed files with 3 additions and 1 deletions

View File

@ -9,5 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Pull previous build result (for cache)
run: docker pull misskey/misskey:latest
- name: Build docker container
run: docker build -t misskey/misskey .
run: docker build --cache-from misskey/misskey:latest -t misskey/misskey .