From 4d2aad9a182debe13765967918730121f876d749 Mon Sep 17 00:00:00 2001 From: Matt Hansen Date: Tue, 3 Sep 2024 13:36:47 -0700 Subject: [PATCH] Add build workflow (fix issue #35) --- .github/workflows/docker-image.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 00000000..3f9f1e8d --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,26 @@ +name: Docker Image CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Run the build.sh scripts + run: | + # find the build.sh scripts and execute them + echo "Running all build.sh scripts in repo" + for f in $(find . -iname 'build.sh') + do + $f || exit 1 + done + echo "Done running build.sh scripts" \ No newline at end of file