Skip to content

Commit 5a6b1fc

Browse files
committed
Format .github/workflows/docker-image.yml
1 parent 34558bc commit 5a6b1fc

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@ name: Docker Image CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches:
6+
- master
67
pull_request:
7-
branches: [ master ]
8+
branches:
9+
- master
810

911
jobs:
1012
build:
1113
runs-on: ubuntu-latest
12-
1314
steps:
14-
- uses: actions/checkout@v2
15-
- name: Build docker image
16-
run: docker build -t reo7sp/tgbot-cpp -f Dockerfile .
17-
- name: Build docker image with examples and unit tests
18-
run: docker build -t reo7sp/tgbot-cpp-test -f Dockerfile_test .
19-
- name: Run unit tests
20-
run: docker run --rm reo7sp/tgbot-cpp-test
15+
- uses: actions/checkout@v2
16+
- name: Build docker image
17+
run: docker build -t reo7sp/tgbot-cpp -f Dockerfile .
18+
- name: Build docker image with examples and unit tests
19+
run: docker build -t reo7sp/tgbot-cpp-test -f Dockerfile_test .
20+
- name: Run unit tests
21+
run: docker run --rm reo7sp/tgbot-cpp-test

0 commit comments

Comments
 (0)