.cirrus.yml: Install coreutils in the build binaries workflow.

This commit is contained in:
Qi Xiao 2024-02-06 15:34:41 +01:00
parent 33190711eb
commit 2375f94d23

View File

@ -99,8 +99,9 @@ build_binaries_task:
go_build_cache:
folder: ~/.cache/go-build
# Git is not required for building the binaries, but we need to include for Go
# to include VCS information in the binary.
setup_script: apk add zip git
# to include VCS information in the binary. Also install coreutils to get a
# touch command that supports specifying the timezone.
setup_script: apk add zip git coreutils
# _bin is in .gitignore, so Git won't consider the repo dirty. This will
# impact the binary, which encodes VCS information.
build_binaries_script: |