mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 01:47:39 +00:00
chore: don't build Dockerfile if not necessary
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
@@ -30,10 +30,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: dorny/paths-filter@v2.5.1
|
||||
id: changes
|
||||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
src:
|
||||
docker:
|
||||
- 'Dockerfile'
|
||||
- name: Build image
|
||||
if: steps.filter.outputs.docker == 'true'
|
||||
run: docker build .
|
||||
|
||||
Reference in New Issue
Block a user