1
0
Fork 0

Always build if either bashbrew or dockerfiles changed

master
Ambrose Chua 2021-05-11 23:11:12 +08:00 committed by GitHub
parent c0db25d860
commit 6a74fac6ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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