1
0
Fork 0

Fix conditional in build

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

View File

@ -50,6 +50,7 @@ jobs:
- name: Commit and push changes
#if: steps.commit-dockerfiles.outputs.bumped == 'yes'
id: commit-bashbrew
run: |
git add library/caddy
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
@ -59,12 +60,12 @@ jobs:
fi
- name: Build images on Linux
if: steps.commit-dockerfiles.outputs.bumped == 'yes'
if: steps.commit-dockerfiles.outputs.bumped == 'yes' || steps.commit-bashbrew.outputs.bumped == 'yes'
run: |
bashbrew build --pull always caddy
- name: Push images
if: steps.commit-dockerfiles.outputs.bumped == 'yes'
if: steps.commit-dockerfiles.outputs.bumped == 'yes' || steps.commit-bashbrew.outputs.bumped == 'yes'
run: |
wget https://github.com/estesp/manifest-tool/releases/download/v1.0.2/manifest-tool-linux-amd64 -O /usr/local/bin/manifest-tool
chmod +x /usr/local/bin/manifest-tool