Add an action to test docker image build

This commit is contained in:
Ilya Fedin 2020-10-30 15:14:12 +04:00 committed by John Preston
parent 18fe87c0d4
commit 30f07280aa
1 changed files with 25 additions and 0 deletions

25
.github/workflows/docker.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Docker.
on:
push:
paths:
- '.github/workflows/docker.yml'
- 'Telegram/build/docker/centos_env/**'
pull_request:
paths:
- '.github/workflows/docker.yml'
- 'Telegram/build/docker/centos_env/**'
jobs:
docker:
name: Ubuntu
runs-on: ubuntu-latest
steps:
- name: Clone.
uses: actions/checkout@v2
with:
submodules: recursive
- name: Docker image build.
run: docker build -t telegram_desktop Telegram/build/docker/centos_env