Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI to test the build #17

Merged
merged 2 commits into from
Sep 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test The Docker Build
on: [pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
if: github.repository_owner == 'Ruby-Network'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Submodule Update
run: git submodule update --init --recursive
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
- name: Build
uses: docker/build-push-action@ad44023a93711e2821f8e83c0e57c4ddd9b934e0
with:
context: .
file: ./Dockerfile
push: false
tags: ruby-network/ruby-network:testing