Skip to content

Commit

Permalink
Make test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adamant-pwn committed May 15, 2024
1 parent e87729a commit f5718d6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Docker Build and Test

on:
push:
branches:
- docker
- main
pull_request:
branches:
- docker
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build Docker image
run: docker build -t build_test .

- name: Run Docker container
run: docker run --rm build_test
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ RUN mkdir build && cd build \
&& make -j

ENTRYPOINT ["./build/bin/rawhash2"]
CMD ["--help"]

LABEL Name=rawhash2 Version=0.0.1

0 comments on commit f5718d6

Please sign in to comment.