Browse Source

Update auto-build.yml

pull/240/head
GilbN 4 years ago
committed by GitHub
parent
commit
7751547bed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/auto-build.yml

6
.github/workflows/auto-build.yml

@ -4,7 +4,9 @@ on:
branches: [ docker-mods ] branches: [ docker-mods ]
paths: paths:
- '**/Dockerfile' - '**/Dockerfile'
defaults:
run:
working-directory: ./your_working_dir
jobs: jobs:
job1: job1:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -36,6 +38,6 @@ jobs:
elif [ "$i" == *.md ]; then elif [ "$i" == *.md ]; then
continue # Skip markdown files continue # Skip markdown files
fi fi
docker build --file $i --tag theme.park:$directory docker build $i --tag theme.park:$directory
docker push ghcr.io/gilbn/theme.park:$directory docker push ghcr.io/gilbn/theme.park:$directory
done done

Loading…
Cancel
Save