mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 18:13:09 +02:00
19 lines
392 B
YAML
19 lines
392 B
YAML
|
name: Docker build
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
- develop
|
||
|
pull_request:
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
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 --cache-from misskey/misskey:latest -t misskey/misskey .
|