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