Always build if either bashbrew or dockerfiles changed
parent
c0db25d860
commit
6a74fac6ff
|
@ -44,17 +44,18 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: Regenerate Bashbrew manifests
|
||||
if: steps.commit-dockerfiles.outputs.bumped == 'yes'
|
||||
#if: steps.commit-dockerfiles.outputs.bumped == 'yes'
|
||||
run: |
|
||||
go run update.go -manifest -commit $(git log -1 --format='format:%H' HEAD)
|
||||
|
||||
- name: Commit and push changes
|
||||
if: steps.commit-dockerfiles.outputs.bumped == 'yes'
|
||||
#if: steps.commit-dockerfiles.outputs.bumped == 'yes'
|
||||
run: |
|
||||
git add library/caddy
|
||||
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
|
||||
git commit -m "Bump Caddy version" -a
|
||||
git push
|
||||
echo "::set-output name=bumped::yes"
|
||||
fi
|
||||
|
||||
- name: Build images on Linux
|
||||
|
|
Loading…
Reference in New Issue