mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
21 lines
431 B
YAML
21 lines
431 B
YAML
report-built-images:
|
|
image: alpine
|
|
stage: report
|
|
script:
|
|
- |
|
|
set -- "${CI_PROJECT_DIR}"/*-built-image.txt
|
|
|
|
while [ "$#" -gt 0 ] && [ ! -f "$1" ]; do
|
|
shift
|
|
done
|
|
|
|
if [ -f "$1" ]; then
|
|
cat *-built-image.txt > all-built-images.txt
|
|
cat all-built-images.txt
|
|
else
|
|
echo "No images built";
|
|
fi
|
|
artifacts:
|
|
paths: ["all-built-images.txt"]
|
|
expire_in: 90d
|
|
|