Skip to content

Commit d5a425b

Browse files
committed
Add .github/workflows/check_docker_build.yml
1 parent f18cca4 commit d5a425b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Check if a Docker image can be built
2+
3+
on: [push]
4+
5+
jobs:
6+
7+
build:
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Build the Docker image
14+
run: docker build . --tag ${{ github.repository }}
15+
16+
- name: Run info.sh
17+
run: docker run -it ${{ github.repository }} sh info.sh

0 commit comments

Comments
 (0)