Skip to content

Commit

Permalink
Add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhansenbot authored Sep 3, 2024
1 parent 333a1f6 commit 53bb85a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run the build.sh scripts
run: if [ -v secrets.DOCKER_HUB_RW_TOKEN ]
then
echo "Secrets detected, can't run build script"
else
# find the build.sh scripts and execute them
find . -iname 'build.sh' -exec ./{} \;
fi

0 comments on commit 53bb85a

Please sign in to comment.