Skip to content

Commit 45eb1fe

Browse files
Merge pull request #17 from Ruby-Network/CI
Add CI to test the build
2 parents 24fa13c + 2a594a5 commit 45eb1fe

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/test-build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test The Docker Build
2+
on: [pull_request, workflow_dispatch]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
if: github.repository_owner == 'Ruby-Network'
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v3
10+
- name: Submodule Update
11+
run: git submodule update --init --recursive
12+
- name: Setup Docker Buildx
13+
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
14+
- name: Build
15+
uses: docker/build-push-action@ad44023a93711e2821f8e83c0e57c4ddd9b934e0
16+
with:
17+
context: .
18+
file: ./Dockerfile
19+
push: false
20+
tags: ruby-network/ruby-network:testing

0 commit comments

Comments
 (0)