plain progress for docker build
All checks were successful
Github Actions Demo / Explore-Gitea-Actions (push) Successful in 10s

This commit is contained in:
James Andariese 2024-02-28 23:27:45 -06:00
parent aca47b1782
commit 93dcc9218c

View File

@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: | - run: |
ls -la ls -la
docker build --iidfile iid.txt . docker build --progress plain --iidfile iid.txt .
stringprefix() { [ ${#1} -le $2 ] && echo $1 && return 0 || stringprefix "${1%?}" $2 ; } stringprefix() { [ ${#1} -le $2 ] && echo $1 && return 0 || stringprefix "${1%?}" $2 ; }
SHORTSHA="$(stringprefix "$GITHUB_SHA" 8)" SHORTSHA="$(stringprefix "$GITHUB_SHA" 8)"
for TAG in "$SHORTSHA" "$GITHUB_REF_NAME";do for TAG in "$SHORTSHA" "$GITHUB_REF_NAME";do