Fix always success builds by move ts to build.sh

This commit is contained in:
Mikhail f. Shiryaev 2022-03-16 19:52:19 +01:00
parent 1d362796df
commit d55785156b
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4
2 changed files with 2 additions and 1 deletions

View File

@ -105,4 +105,4 @@ RUN arch=${TARGETARCH:-amd64} \
&& rm /tmp/nfpm.deb
COPY build.sh /
CMD ["bash", "-c", "/build.sh 2>&1 | ts"]
CMD ["bash", "-c", "/build.sh 2>&1"]

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
exec &> >(ts)
set -x -e
cache_status () {