Skip to content

Commit

Permalink
Add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhansenbot committed Sep 3, 2024
1 parent 333a1f6 commit 8ca7869
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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: 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 8ca7869

Please sign in to comment.