Skip to content

Commit 8412347

Browse files
committed
ci: Add buildctl trace file job artifact
1 parent df1386b commit 8412347

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.gitlab/gitlab-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,17 @@ build-image:
109109
script:
110110
- |
111111
buildctl-daemonless.sh build \
112+
--trace ${CI_PROJECT_DIR}/buildctl-trace.json \
112113
--frontend dockerfile.v0 \
113114
--local context=${CI_PROJECT_DIR} \
114115
--local dockerfile=${CI_PROJECT_DIR} \
115116
--opt build-arg:GOVERSION="${GOVERSION}" \
116117
--opt build-arg:VERSION="${VERSION}" \
117118
--output type=image,\"name=${BUILDKIT_IMAGE}\",push=${BUILDKIT_PUSH}
119+
artifacts:
120+
paths:
121+
- buildctl-trace.json
122+
when: always
118123

119124
test:
120125
stage: test

0 commit comments

Comments
 (0)