use variable findings to set build_before/after to varaible for checking if should docker build
parent
a2a6cccd93
commit
f62ab35fa8
|
|
@ -45,9 +45,13 @@ spec:
|
|||
shell: sh
|
||||
script: |
|
||||
set -ueo pipefail
|
||||
|
||||
export build_before=${{ build.before }}
|
||||
export build_after=${{ build.after }}
|
||||
|
||||
apk add --no-cache git
|
||||
t=registry-app.inhome.blapointe.com:5001/portfolio/resume/builder:latest
|
||||
if git diff --name-only ${{ build.before }} ${{ build.after }} | grep Dockerfile.cicd; then
|
||||
if git diff --name-only $build_before..$build_after | grep Dockerfile.cicd; then
|
||||
until docker ps; do
|
||||
sleep 5
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in New Issue