summaryrefslogtreecommitdiff
path: root/.github/workflows/docker-image.yml
diff options
context:
space:
mode:
authorOleg Morozenkov <o.morozenkov@corp.mail.ru>2024-06-11 00:55:46 +0300
committerOleg Morozenkov <o.morozenkov@corp.mail.ru>2024-06-11 00:55:46 +0300
commit5a6b1fc958e12d0d722703c112d9f91f5028e261 (patch)
tree7590460165a89bfd42986c7b3eca502f573b9be2 /.github/workflows/docker-image.yml
parent34558bc5425e1165f491a83ab62140b90aa29b78 (diff)
Format .github/workflows/docker-image.yml
Diffstat (limited to '.github/workflows/docker-image.yml')
-rw-r--r--.github/workflows/docker-image.yml21
1 files changed, 11 insertions, 10 deletions
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index 8e39202..28c526b 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -2,19 +2,20 @@ name: Docker Image CI
on:
push:
- branches: [ master ]
+ branches:
+ - master
pull_request:
- branches: [ master ]
+ branches:
+ - master
jobs:
build:
runs-on: ubuntu-latest
-
steps:
- - uses: actions/checkout@v2
- - name: Build docker image
- run: docker build -t reo7sp/tgbot-cpp -f Dockerfile .
- - name: Build docker image with examples and unit tests
- run: docker build -t reo7sp/tgbot-cpp-test -f Dockerfile_test .
- - name: Run unit tests
- run: docker run --rm reo7sp/tgbot-cpp-test
+ - uses: actions/checkout@v2
+ - name: Build docker image
+ run: docker build -t reo7sp/tgbot-cpp -f Dockerfile .
+ - name: Build docker image with examples and unit tests
+ run: docker build -t reo7sp/tgbot-cpp-test -f Dockerfile_test .
+ - name: Run unit tests
+ run: docker run --rm reo7sp/tgbot-cpp-test