Skip to content

Commit

Permalink
[operator] Always build debug image for the operator
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMountain committed Jan 17, 2025
1 parent 9f718e3 commit 80ba0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ docker buildx build --platform linux/amd64,linux/arm64 \

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

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

0 comments on commit 80ba0ca

Please sign in to comment.