Skip to content

Commit 80ba0ca

Browse files
committed
[operator] Always build debug image for the operator
1 parent 9f718e3 commit 80ba0ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlab/build-image.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ docker buildx build --platform linux/amd64,linux/arm64 \
4040

4141
ddsign sign "$IMAGE_REF" --docker-metadata-file "$METADATA_FILE"
4242

43-
# Always build the debug version of the Cilium image
44-
if [ "$IMAGE_NAME" == "cilium" ]; then
43+
# Always build the debug version of the Cilium Agent and Operator images
44+
if [[ $IMAGE_NAME == "cilium" || $IMAGE_NAME == "cilium-operator" ]]; then
4545
METADATA_FILE_DEBUG=$(mktemp)
4646
docker buildx build --platform linux/amd64,linux/arm64 \
4747
--tag "$IMAGE_REF"-debug \

0 commit comments

Comments
 (0)