Add GitHub Actions CI rules (#70)

* Prepare Dockerfile for GitHub Actions

* Add Action

* Add CI rules

* Move docker files into the docker directory to prevent fetching build artifacts

* Cache Docker layers

Co-authored-by: aanper <mail@s3f.ru>
This commit is contained in:
Vadim Kaushan
2020-08-31 23:12:18 +03:00
committed by GitHub
parent b13925f7ab
commit a008c38078
5 changed files with 60 additions and 3 deletions

11
.github/actions/docker/action.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
name: 'Run in docker'
inputs:
run: # id of input
description: 'A command to run'
required: true
default: ''
runs:
using: 'docker'
image: '../../../docker/Dockerfile'
args:
- ${{ inputs.run }}