Skip to content

Commit

Permalink
Set provenance:false for buildx builds
Browse files Browse the repository at this point in the history
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
  • Loading branch information
mkuznyetsov committed Mar 7, 2023
1 parent 7a15983 commit 924786c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/sidecar-build-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ do
if [[ $BUILD_PUBLISH == 'build-publish' ]]; then
IMAGE_NAME=quay.io/eclipse/che-plugin-sidecar:"$SIDECAR_NAME"-"$SHORT_SHA1"
echo "Building $IMAGE_NAME"
docker buildx build --platform "$PLATFORMS" -t "$IMAGE_NAME" \
docker buildx build --provenance=false --platform "$PLATFORMS" -t "$IMAGE_NAME" \
"$BUILD_ARGS" sidecars/"$SIDECAR_NAME"/
elif [[ $BUILD_PUBLISH == 'build' ]]; then
echo "Checking $SIDECAR_NAME-$SHORT_SHA1"
docker buildx build --platform "$PLATFORMS" sidecars/"$SIDECAR_NAME"/
docker buildx build --provenance=false --platform "$PLATFORMS" sidecars/"$SIDECAR_NAME"/
fi
fi
fi
Expand Down

0 comments on commit 924786c

Please sign in to comment.