Skip to content

Commit

Permalink
Update push-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Frooodle authored Jan 29, 2023
1 parent 0b09ef1 commit 1f1f50a
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/push-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,27 @@ on:
- master
- main
jobs:

build:
detectChangeType:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Has Changed
uses: YassinEldeeb/has-changed-path@v2.1
id: changed
with:
# Paths to detect changes
paths: build.gradle src/ Dockerfile


push:

runs-on: ubuntu-latest
if: steps.changed.outputs.changed == 'true'
steps:


- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down

0 comments on commit 1f1f50a

Please sign in to comment.